Search

Hi there. I’ve got kinda strange problem with markdown (Markdown extra with SmartyPants).

<div id="body_text">
  <xsl:copy-of select="body/*"/> 
</div>

The problem is that theres nothing shows unless i remove the “/*”, then it shows

text

Did you select “formatted” or “unformatted” in your DataSource field selector?

<entry id="135">
   <item handle="kanalizacijas-sistemas">Kanaliz?cijas sist?mas</item>
   <bilde size="112 KB" path="/bildes" type="image/png">
      <filename>kanalizacija_.png</filename>
      <meta creation="2011-02-09T18:51:09+02:00" width="230" height="230" />
   </bilde>
   <body mode="formatted">&lt;p&gt;lorem ipsum ...&lt;/p&gt;</body>
</entry>

Urgh, apparently your HTML markup has been “entitified to death”.

Can you explain what you did exactly?

Did you check “HTML encode output” in your data source? This would explain the output.

Did you check “HTML encode output” in your data source?

Oh right, I totally forgot about that thing :-)

Oh, yes, it was checked. Now everything works perfectly. Thanks a lot! :)

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