DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: FARR displaying html code in results  (Read 6,285 times)

skajfes

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 267
FARR displaying html code in results
« on: January 10, 2009, 07:27 PM »
Mouser, is it possible to display html code in result window? I am trying to make a copy of KlipKeeper plugin that will display html and remove white spaces from the clips when displaying them. But html code doesn't show. For example i copy "<head>", and all that is displayed is blank space. If I replace < with &lt; then "&lt;head>" is displayed.
It is impossible to make anything foolproof because fools are so ingenious.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: FARR displaying html code in results
« Reply #1 on: January 12, 2009, 07:08 AM »
i need to fix that bug with it evaluating html in result list instead of showing <head> etc.

or are you asking me to add something different?

skajfes

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 267
Re: FARR displaying html code in results
« Reply #2 on: January 12, 2009, 01:07 PM »
Well as I figured it out, I can do some formating in the output using
Code
<b> </b> and <i> </i>
html codes and that's just fine, I want to be able to do that. I don't know how FARR exactly parses html codes in the result list, but from what I've seen it strips all tags and evaluates some like bold or italic, so I don't know what changes are necessary.

I want to be able to format the string with bold and italic and in some cases I want to be able to display the html tags instead of bold-ed text. I assume the easiest way is to add some tags FARR is able to parse, like 
Code
<pre> </pre>
that could signal farr not to parse string inside the tags or something like that.

What do you think?
It is impossible to make anything foolproof because fools are so ingenious.
« Last Edit: January 12, 2009, 01:14 PM by skajfes »

Original address: https://www.donationcoder.com/forum/index.php?topic=16522.0