Search
Other Snippets questions
Forum

  tag in a snippet

Stephan Herby's Avatar Stephan Herby
Hi Peter,
I have to insert a " " in a snippet (just because a colon is going on the next line - Colon are preceded with a space in french - This just a one case issu 🙂 )
But When I put the  in my snippet, it is written   instead of addan unbreakable space. Any advice ?
Peter van Westen's Avatar Peter van Westen ADMIN
Do you have it in the html view of the snippet? Or in the WYSIWYG editor?
Please post a rating at the Joomla! Extensions Directory
Stephan Herby's Avatar Stephan Herby
Hi pEter,
The " " is in the snippet.
share.cleanshot.com/zDgJn46BJsQB1cP0mwVr
And this is how it appear in my page :
share.cleanshot.com/Ps8hNX9N6Sk65HmKwsZ4
Peter van Westen's Avatar Peter van Westen ADMIN
What you pass to Snippets inside the {snippet} tag is not raw text. It is passed as html/rich text. So if you want an   there, you need to place it in the html view.
So in the article (or whatever content it is) where you have that {snippet} tag, switch to the HTML view in the editor, and add the   there.
So there it would look something like:
<p>{snippet ... intro="...&nbsp;:"}</p>
Please post a rating at the Joomla! Extensions Directory
Stephan Herby's Avatar Stephan Herby
Yeah ! RIght, I had to make the Snippet and then add the &nbsp; in the HTML panel (not in the WYSIWYG panel).
And it works...
Thanks 🙂
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription