Can't save a character in an override

General questions regarding the use of languages in Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
gsmela
Joomla! Explorer
Joomla! Explorer
Posts: 289
Joined: Thu Jun 10, 2010 12:38 pm
Contact:

Can't save a character in an override

Post by gsmela » Mon Mar 29, 2021 5:18 pm

Specifically, in trying to add the character < it won't save. Nor will << which I'm trying to use for navigation purposes. This one: > works properly.
Is there an escape sequence that needs to be added?

It does allow me to save the value by manually editing the en_GB.override.ini file which does work for the site.

Thank you.

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2954
Joined: Sun May 04, 2008 12:37 pm

Re: Can't save a character in an override

Post by waarnemer » Mon Mar 29, 2021 8:53 pm

< is &lt;
> is &gt;

<> are used in tags (html and xml) and probably are misred...

https://www.w3schools.com/charsets/ref_ ... _latin.asp

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Can't save a character in an override

Post by infograf768 » Tue Mar 30, 2021 7:55 am

This character is forbidden by

Code: Select all

filter="LanguagesHelper::filterText"
in the override.xml field as a security matter.

But you can use stuff like

Code: Select all

<strong>whatever</strong>
and the htmlentity indeed.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Locked

Return to “Language - Joomla! 3.x”