We have tried to add the CO[sub]2 [/sub]in the title field of a page but not successful. Anyone can help?
We are running MySource Matrix v3.26.1
Thanks.
is your installation setup for utf8?
Not sure, how can I find out? Just wonder why UTF-8 is related to the issue?
Thanks.
[quote]
We have tried to add the CO[sub]2 [/sub]in the title field of a page but not successful. Anyone can help?
[/quote]
Just make the name:
CO2
Ugly, but it works.
After put in as suggested, the page name becomes
CO<sub>2</sub> instead of CO[sub]2
[size="3"]We are using UTF-8.
Thanks.[/size][/sub]
[quote]
After put in as suggested, the page name becomes
CO<sub>2</sub> instead of CO[sub]2
[size="3"]We are using UTF-8.
Thanks.[/size][/sub]
[/quote]
How are you printing it? With the %asset_name% keyword? Or using a design tag?
We use design asset and use MySource_PRINT:-
<MySource_PRINT id_name="global" var="asset_name"/>
cheers.
[quote]
We use design asset and use MySource_PRINT:-
<MySource_PRINT id_name="global" var="asset_name"/>
cheers.
[/quote]
Looks like it is getting escaped somehow. I was just testing using %asset_name%.
Just borrowing from Nic's test, you could add a metadata field to your schema with the default value '%asset_name%' and use
<MySource_PRINT id_name="global" var="asset_metadata_<your meta value name here>"/>
to display your title.
Seems to work with H<sub>2</sub>O.