Comments (4)
Thanks for bringing this to my attention. Your proposed
solution works. I've implemented this in cmark and added
some tests to "pathological tests."
Still TODO: implement in commonmark.js. This should
be straightforward with the cmark change as a guide.
from commonmark.js.
Thanks 👍. Just found another case that's related: "[ a_" * 20000
. The opening delimiter for the link only gets removed at the end, slowing down the search for a matching opener for the emphasis closers.
from commonmark.js.
And another case is this: "*a_ " * 20000
from commonmark.js.
I have now fixed all of these problems in cmark. TODO: commonmark.js.
from commonmark.js.
Related Issues (20)
- U+3000 ( ) is allowed as paragraph indentation
- Definition + setext underline/thematic break, creates loose empty paragraph HOT 3
- Entities inside autolinks not recognized HOT 3
- Inconsistent escape of image alt
- List items hard-wrapped to multiple lines HOT 2
- Spec Order List needs to update HOT 3
- Delegate node walking to others HOT 3
- Don't require spaces outside of this particular marked text HOT 1
- Incorrect `_` emphasis parsing HOT 1
- Some inputs taking long time to parse HOT 23
- Im unable to run dingus... HOT 3
- [Example]: Extended HTML renderer
- This website(https://talk.commonmark.org/) cannot be accessed. HOT 2
- Do not add the `language-` prefix when the info string already starts with `language-` HOT 2
- [fuzz result] invalid entity with HTML5 prefix gets partially consumed
- Quotes after a link definition prevent it from parsing
- [fuzz result] inline html declarations only parse uppercase ascii letters
- HTML comment handling doesn't match spec 0.31.2? HOT 3
- Non-alphabetical start of the string breaks the markup in some cases
- Any chance of a release? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commonmark.js.