Search

I have two sections called section and dagboek. They both look the sama.

Layout :

Title:
Tekst  Markdown

.

But when I look at the xml they both get a different output nl.

 <section> 
        <section id="6" handle="sections">Sections</section> 
            <entry id="12">
               <title handle="even-voorstellen">Even Voorstellen</title> 
          <tekst><p>FLOAT : img_5874.jpg</p> 
             <p>Naam : Tamara Wobben<br /> 
`               `Geboorte gewicht : 2000 gram<br /> 
                  Geboorte lengte : 44 cm.<br /> 
`                `Geboortedatum : 1 september 2005  </p> 
           </tekst> 
        </entry> 
    </section>

The other looks like this :

<dagboek>
       <section id="9" handle="dagboek">Dagboek</section> 
            <entry id="14"> 
     <tekst mode="formatted">&lt;p&gt;Hoera, het is zover, eindelijk zwanger. De test laat niets te twijfelen over. Ik ben net een stuiterbal, blij en energie voor tien. Ondanks het prille begin, heb ik een goed gevoel over deze zwangerschap. Waarom? geen idee. Het voelt gewoon goed. Het is moeilijk om ’s middags mijn mond dicht te houden als ik met mijn zus in de stad ben. Het is maar goed dat er een carnavalsoptocht is, het geeft een beetje afleiding.&lt;/p&gt; 33
         </tekst>
    </entry>
    </section>
    </dagboek>

what I find wierd that the first the text is not formatted and on the second the

tag is trashed.

Can anyone explain this to me ?

Roelof

Looks like the latter data source has HTML-encode text checked.

Thanks, that solved the problem.

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