Encode the name of an STV line.
(stv-name-to-xml name acc) → acc
Function:
(defun stv-name-to-xml (name acc) (declare (xargs :guard t)) (let ((__function__ 'stv-name-to-xml)) (declare (ignorable __function__)) (b* (((when (stringp name)) (b* (((mv ?col acc) (str::html-encode-string-aux name 0 (length name) 0 8 acc))) acc)) (str (str::pretty name)) ((mv ?col acc) (str::html-encode-string-aux str 0 (length str) 0 8 acc))) acc)))
Theorem:
(defthm character-listp-of-stv-name-to-xml (implies (character-listp acc) (b* ((acc (stv-name-to-xml name acc))) (character-listp acc))) :rule-classes :rewrite)