Commit 61e94485 authored by Pascal J. Bourguignon's avatar Pascal J. Bourguignon

Updated parsing and writing as text.

- Parsing returns a (:document () …) entity instead of a list.
  <?xml> are transmitted as a :foreign entity, and
  <!DOCTYPE> are transmitted as a :definition entity.

- Comment text is trimmed of the <!-- and -->.

- The newline strings are removed (they were an useless artifact).

- The output of newline for some tags has been tuned for better
  reading of unparsed-html.

- Write-html-text has been improved (handles :document entity, ignore
  :foreign, :definition and :comment); handles :pre elements.
parent 28e8f270
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment