|
|
|
|
|
by woah
380 days ago
|
|
Could this result in edge cases with [ where due to some misformatting or intentional syntax that looks like the start of a markdown link, the entire response is hidden from the user? (This comment when subjected to this processing could look like: "Could this result in edge cases with ") |
|
There are some easy wins that could improve this further: line endings within links are generally not valid markdown, so if the code ever sees \n then just flush buffered text to the client and reset the state to TEXT.