-
Notifications
You must be signed in to change notification settings - Fork 875
Two raw HTML blocks without blank lines between #830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
closes #88 - moves from makefile to bash scripts (would use npm scripts, but seems textile tries to avoid that), as makefile does not support what is necessary for the build script - there is no TOC for the CLI page due to these bugs: Python-Markdown/markdown#830 Python-Markdown/markdown#829 - adds the editorconfig from textileio/base Signed-off-by: Benjamin Lupton <[email protected]>
Thanks for the report. This is a weird one. It appears that the raw HTML parser is failing to find the end of the raw HTML block and consuming the rest of the document. Here is the minimum example I found which exhibits the problem:
The above results in this output: <p><pre>Raw HTML</pre></p>
<table></table>
## Header Note that this requires all of the following:
Given number 2 above, as a workaround, you can add a blank line between each of the your raw HTML block level elements (add a blank line between your Presumably we missed this bug as we most likely only ever tested with two |
closes #88 - moves from makefile to bash scripts (would use npm scripts, but seems textile tries to avoid that), as makefile does not support what is necessary for the build script - there is no TOC for the CLI page due to these bugs: Python-Markdown/markdown#830 Python-Markdown/markdown#829 - adds the editorconfig from textileio/base Signed-off-by: Benjamin Lupton <[email protected]>
closes #88 - moves from makefile to bash scripts (would use npm scripts, but seems textile tries to avoid that), as makefile does not support what is necessary for the build script - there is no TOC for the CLI page due to these bugs: Python-Markdown/markdown#830 Python-Markdown/markdown#829 - adds the editorconfig from textileio/base Signed-off-by: Benjamin Lupton <[email protected]>
`pre` tags inside `p` tags is invalid, and causes strict parsers to fail /workaround for Python-Markdown/markdown#830 Signed-off-by: Benjamin Lupton <[email protected]>
- Workarounds Python-Markdown/markdown#830 - Closes #95 - References textileio/go-textile#847 Signed-off-by: Benjamin Lupton <[email protected]>
* cli: docs: output valid html `pre` tags inside `p` tags is invalid, and causes strict parsers to fail /workaround for Python-Markdown/markdown#830 Signed-off-by: Benjamin Lupton <[email protected]> * version: v0.6.1 Signed-off-by: Benjamin Lupton <[email protected]>
- Workarounds Python-Markdown/markdown#830 - Closes #95 - References textileio/go-textile#847 Signed-off-by: Benjamin Lupton <[email protected]>
I have a suspicion that this could be related to #780. The result is different, but the tag counting alogarithm is wrong in both cases. |
I suspect you are right...not looking forward to unraveling this 😬 |
This issue doesn't exist in #803. Of course, that is incomplete, but our efforts might be better utilized by finishing that than by addressing each of these individual edge cases in the existing code base. |
That would honestly be my preferred route. Getting a nice clean implementation that is easier to debug would be great. |
Given:
The latter two headers are not converted to h elements. If one changes it to:
Then they are.
The text was updated successfully, but these errors were encountered: