projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee4afc
)
add blank line after regexp constant in helper
author
Dan Allen
<dan@opendevise.com>
Wed, 18 Mar 2020 21:07:32 +0000
(15:07 -0600)
committer
Dan Allen
<dan@opendevise.com>
Wed, 18 Mar 2020 21:07:32 +0000
(15:07 -0600)
src/helpers/detag.js
patch
|
blob
|
history
diff --git
a/src/helpers/detag.js
b/src/helpers/detag.js
index
ca283a2
..
e32f147
100644
(file)
--- a/
src/helpers/detag.js
+++ b/
src/helpers/detag.js
@@
-1,4
+1,5
@@
'use strict'
const TAG_ALL_RX = /<[^>]+>/g
+
module.exports = (html) => html && html.replace(TAG_ALL_RX, '')