topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 10:19 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: FARR displaying html code in results  (Read 4721 times)

skajfes

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 267
    • View Profile
    • Donate to Member
FARR displaying html code in results
« on: January 10, 2009, 01: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,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: FARR displaying html code in results
« Reply #1 on: January 12, 2009, 01: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
    • View Profile
    • Donate to Member
Re: FARR displaying html code in results
« Reply #2 on: January 12, 2009, 07:07 AM »
Well as I figured it out, I can do some formating in the output using
<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 
<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, 07:14 AM by skajfes »