Search

Fairly new to Symphony and couldn't find any answers to my question. Essentially I'm wondering if there's a way to stop Symphony outputting the field handle tags from returned data.

Eg When I'm using copy-of rather than value-of to preserve Markdown formatting and if I have a field whose handle is article_content in a Section, when I retrieve that data, it comes back as:

<article_content mode="formatted">
<ol>
<li>item 1</li>
<li>item 2</li>
</ol>
</article_content>

Is there any way to stop the tags from being generated or easily removing them from the returned data?

Thanks in advance for any help

Try this:

<xsl:copy-of select="article_content/*" />

Nice and easy, many thanks.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details