darioteixeira / lambdoc

Lambdoc is a library providing support for semantically complex documents in Ocsigen web applications
GNU General Public License v2.0
17 stars 1 forks source link

markdown: reports incorrect location when unsupported feature is used #24

Closed edwintorok closed 8 years ago

edwintorok commented 9 years ago

$ cat >x.md <<EOF aaaa bbbb

dddd

EOF

lambdoc says: The document uses an unsupported feature (Html_comment). and highlights the first line in the source, but the unsupported feature is used on line 4 actually.

darioteixeira commented 9 years ago

This is a know issue: the current version of OMD does not record location information.

darioteixeira commented 8 years ago

The resolution is the same as that of issue #25: Since commit f59a2ae, there is now a Lamblite parser that handles both Markdown and Wiki syntaxes, bypassing OMD altogether, and having proper support for location information.