Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Sep 27, 2023
1 parent 3dd35d0 commit 7311361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/01-document/preProcess/kill_xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const closeTag = `< ?/ ?(${ignore.join('|')}) ?>`
const anyChar = '\\s\\S' //including newline
const noThanks = new RegExp(`${openTag}[${anyChar}]+?${closeTag}`, 'gi')

const kill_xml = function(wiki) {
const kill_xml = function (wiki) {
//(<ref> tags are parsed in Section class) - luckily, refs can't be recursive.
//types of html/xml that we want to trash completely.
wiki = wiki.replace(noThanks, ' ')
Expand Down

0 comments on commit 7311361

Please sign in to comment.