Am 12/12/15 um 11:52 schrieb Hervé BOUTEMY:
what means "a directive" in markdown? fml? confluence? LaTex? xdoc?
I know "directive" word is more generic than "ssi", but the only useful case I
know is when generated html is put on a web server that supports such
directives
then just handling this special comment on xhtml Sink implementation looks an
adapted hack IMHO

Enhancing Sink API is not forbidden: it just requires to have a good meaning
in most supported formats [1], both when parsing and generating markup

The cause for having to do anything is the (wrong IMHO) handling of comments. If I can updated/fix that, nothing needs to be changed. That just means no more trimming when parsing comments and no more addition of whitespace when writing. So that "<!--# whatever -->" will be parsed to "# whatever " and written as "<!--# whatver -->" and "<!-- # whatever-->" will be parsed to " # whatever" and will be written as "<!-- # whatever-->". So after that change comments will be passed through unchanged. I would need to update some test cases testing the current handling for this. Would that be ok?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to