mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
9735879318
This fixes a bug where lines starting with a space would get parsed as "level 0" headings - it would not find a "#" and therefore never increase the level counter (starting at zero), which then would cause the check for "space after #" pass (again, there is no "#"). Eventually we would get funny results like this: <h0>[n-1 spaces]oops!</h0> Also ASSERT(level > 0) in the Heading constructor. |
||
---|---|---|
.. | ||
Block.h | ||
CMakeLists.txt | ||
CodeBlock.cpp | ||
CodeBlock.h | ||
Document.cpp | ||
Document.h | ||
Heading.cpp | ||
Heading.h | ||
List.cpp | ||
List.h | ||
Paragraph.cpp | ||
Paragraph.h | ||
Table.cpp | ||
Table.h | ||
Text.cpp | ||
Text.h |