We are using Hippo 10.x with Freemarker templates for the front end
We have a Doc Type with a Formatted Text field (let's call it Title). We display that field on the page without any problem with the limited formatting allowed by a Formatted Text field (using the hst.html tag).
I'd like to also use that same content minus the formatting as part of the <title> tag on the page. Is there a way (either directly in the FTL or in the Java back end for the component) to get a copy of the content from that Formatted Text field but as plain text, i.e. with all the HTML tags stripped out?
This seems like something a lot of systems would have reason to do, but I haven't been able to find an appropriate example or reference.
Thanks
-Elizabeth