This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Output HTML-Code

 
Florian Hassler
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the follogwing little Problem:



Where entry.text is a String like <p>This is a <strong>damn</strong> formatted text!</p>

Right now the HTML-Tags get changed so one will see them on the screen but I want them to be code.

How on earth is it possible to print exactly this string above onto my page-source not on the page itself? Is it even possible or is the concept completely wrong?

TIA
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use h:outputText.
 
Florian Hassler
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
of course,


works. thank you very much!

f.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!