You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used Feed me to transfer all blogs over to Craft 4 from a Wordpress site (this was a while ago). This has meant that unicode character are showing in the titles. I'm able to remove these on the front-end of the site by using the {{entry.title|raw}} filte, however I am unable to remove these in the title field of the CMS.
I've tried adding {{title|raw}} into the title field in the CMS but this doesn't seem to work.
No it's it's not in the JSON that I imported. My issue is the |raw filter works on the front end, but not when adding the manual title in the CMS like i've added in the screenshot in my opening message (if that takes sense).
Setting the title format to {{ title|raw }} is the same as not having a title format to begin with; you’re just telling it to set the title to the title, exactly.
(And I would not advise using title|raw in your front end templates. That introduces a major XSS vulnerability.)
Can you post the exact JSON data that was imported? Or send it to [email protected]?
What happened?
Description
I've used Feed me to transfer all blogs over to Craft 4 from a Wordpress site (this was a while ago). This has meant that unicode character are showing in the titles. I'm able to remove these on the front-end of the site by using the {{entry.title|raw}} filte, however I am unable to remove these in the title field of the CMS.
I've tried adding {{title|raw}} into the title field in the CMS but this doesn't seem to work.
Do you have any ideas if this is possible?
Thanks!
Craft CMS version
Craft Solo 4.13.10
PHP version
8.2.27
Operating system and version
Linux 5.14.0-427.13.1.el9_4.x86_64
Database type and version
MySQL 8.0.40
Image driver and version
GD 8.2.27
Installed plugins and versions
Agent | 5.0.0
CKEditor | 3.8.3
Feed Me | 5.4.0
Freeform | 5.1.14
Hyper | 1.1.27
SEOmatic | 4.0.48
Sprout Redirects | 4.47.2
Super Table | 3.0.13
The text was updated successfully, but these errors were encountered: