kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fixed problem with HTML inline parse rule
We were incorrectly eating line breaks after self-closing inline HTML tagsprint-window-tiddler
rodzic
5b7cdc20ba
commit
61eb585640
|
@ -34,7 +34,7 @@ exports.init = function(parser) {
|
|||
if(this.is.block) {
|
||||
this.matchRegExp = /<(\$)?([A-Za-z]+)(\s*[^>]*?)(\/)?>(\r?\n)/mg;
|
||||
} else {
|
||||
this.matchRegExp = /<(\$)?([A-Za-z]+)(\s*[^>]*?)(\/)?>(\r?\n)?/mg;
|
||||
this.matchRegExp = /<(\$)?([A-Za-z]+)(\s*[^>]*?)(?:(\/>)|(?:>(\r?\n)?))/mg;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue