Commit e3646265 authored by Fred Chasen's avatar Fred Chasen
Browse files

Merge branch 'pseudoFix' into 'master'

closes #184

Closes #184

See merge request tools/pagedjs!99
parents eefb4224 484c59f0
Pipeline #433 passed with stage
in 3 minutes and 17 seconds
export function cleanPseudoContent(el, trim = "\"' ") {
if(el == null) return;
return el
.replace(new RegExp(`^[${trim}]+`), "")
.replace(new RegExp(`[${trim}]+$`), "")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment