Skip to content
Discussion options

You must be logged in to vote

Inside the Str element, you'll just have a unicode nonbreaking space character. Put that in your regex instead of  .

function Str(el)
  el.text = string.gsub(el.text, " ", " ")
  return el
end

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by VladimirAlexiev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants