search for: _hashhtmlblocks

Displaying 1 result from an estimated 1 matches for "_hashhtmlblocks".

2011 Nov 30
3
Inline HTML legalities
...is way because I want to emit an SXML tree data structure rather than an opaque string. I read the source file into a list of lines and can run regexes on individual lines. I can successfully extract link references. I'm currently trying to extract inline HTML, basing my code on regexes from _HashHTMLBlocks. I can detect the start of an inline block: "^<(block-tags-a\b.* ...but I'm having trouble detecting the end of the blocks in the same way as the Perl version. There seems to be a discrepancy between the "Markdown: Syntax" document and the implementation in _HashHTMLBlocks...