mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +00:00
08585bc7e9
For ```foo asdf jkl; ```bar we would previously generate <pre>foo f ; </pre> ```bar Now we generate <pre> asdf jkl; </pre> * no longer cut off the first 3 characters on most lines. * don't include the closing ``` line in the output. in addition to omitting the '```', this also honors "Any text following the leading "```" of a preformat toggle line which toggles preformatted mode off MUST be ignored by clients." from the spec * ignore the alt text after the toggle-on text. the spec leaves it to the client what to do with that alt text, but it tends to be metadata, and omitting it is simplest for the implementation, so do that. Improves ascii art on many gemini pages, e.g. gemini://carcosa.net/ |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Document.cpp | ||
Document.h | ||
Forward.h | ||
GeminiJob.cpp | ||
GeminiJob.h | ||
GeminiRequest.cpp | ||
GeminiRequest.h | ||
GeminiResponse.cpp | ||
GeminiResponse.h | ||
Job.cpp | ||
Job.h | ||
Line.cpp |