mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Added test for markdown bug with linking [ul] and [poll]
This commit is contained in:
7
vendor/assets/javascripts/better_markdown.js
vendored
7
vendor/assets/javascripts/better_markdown.js
vendored
@@ -1186,15 +1186,14 @@
|
||||
this,
|
||||
text.substr( m.index ), m, previous_nodes || [] );
|
||||
|
||||
if(!res){
|
||||
// fallback
|
||||
// If no inline code executed, fallback
|
||||
if (!res) {
|
||||
var fn = this.dialect.inline[m[1][0]];
|
||||
if(fn) {
|
||||
if (fn) {
|
||||
res = fn.call(
|
||||
this,
|
||||
text.substr( m.index ), m, previous_nodes || [] );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
// Default for now to make dev easier. just slurp special and output it.
|
||||
|
||||
Reference in New Issue
Block a user