[cl-who-devel] Expected behavior?

I wonder if following two statements should produce the same result: (with-html-output-to-string (*standard-output* nil :indent t) (:p "text")) and (with-html-output-to-string (*standard-output* nil :indent t) (:p (str (concatenate 'string "te" "xt")))) So far the first statement gives: " <p> text </p>" The second: " <p>text </p>" What happens to the indentation in the second case? I am using cl-who 0.11.1 with sblc 1.0.37 on Linux Thank you, Andrei

Andrei Stebakov <lispercat@gmail.com> writes:
I wonder if following two statements should produce the same result:
(with-html-output-to-string (*standard-output* nil :indent t) (:p "text"))
and (with-html-output-to-string (*standard-output* nil :indent t) (:p (str (concatenate 'string "te" "xt"))))
So far the first statement gives: " <p> text </p>"
The second: " <p>text </p>"
What happens to the indentation in the second case? I am using cl-who 0.11.1 with sblc 1.0.37 on Linux
They're the same result. Since it's HTML, sameness should be defined as what will be rendered by an HTML engine, and the HTML standards specify that those two sources produce exactly the same rendering. -- __Pascal Bourguignon__ http://www.informatimago.com/
participants (2)
-
Andrei Stebakov
-
pjb@informatimago.com