{{#replace:Foo_Bar.png|_|<nowiki> </nowiki>}}
(documentation)
Force whitespace (html entity?) at end of string (beat trim)
-
15-06-2023 - |
Pergunta
How can I trick a trimming function not to remove whitespace at the end of a string?
would normally do fine but my strings are long, so I do want them to break.
Is there no html entity for whitespace?
This is not a specific coding language question (it's complicated).
It's for MediaWiki and I want to replace underscores with normal whitespace: {{#replace:Foo_Bar.png|_| }}
Edit: Solution:  
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow