Skip to content

Instantly share code, notes, and snippets.

@noelboss
Created November 26, 2013 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noelboss/7655934 to your computer and use it in GitHub Desktop.
Save noelboss/7655934 to your computer and use it in GitHub Desktop.
A little trick how to replace   within Typo3 Content (Versions lower than 4.6)
10 = TEXT
10.value = For some reasons, I don't want   s in my code...
10.parseFunc {
short.nbsp = #32
}
# Results in: For some reasons, I don't want  &32;s in my code...
# and since   is a normal space, it collapes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment