Powered by eUKhost®

Announcement

Collapse
No announcement yet.

HTML escaping

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTML escaping

    I am closing in on final bits of my railslist project a craigslist style open source classifieds. Reviewing final checks to be done before it is released to the community. One thing stuck me was HTML escaping. Although I can escape each input separately, i am interested to have some thing that would accept an object and escape all its attributes.

    any ideas?
    for sale

  • #2
    Originally posted by unknown888 View Post
    I am closing in on final bits of my railslist project a craigslist style open source classifieds. Reviewing final checks to be done before it is released to the community. One thing stuck me was HTML escaping. Although I can escape each input separately, i am interested to have some thing that would accept an object and escape all its attributes.

    any ideas?
    I'm not much good into RoR, but I've done some research & come across these links:

    1) escapeHTML (CGI)
    2) html_escape (RSS::Utils)
    3) html_escape (ERB::Util)

    Hope they are useful.. :smile:
    Rock _a.k.a._ Jack Daniel

    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    Comment


    • #3
      thank you Rock.
      for sale

      Comment


      • #4
        You are welcome..
        Rock _a.k.a._ Jack Daniel

        Follow eUKhost on Twitter || Join eUKhost Community on Facebook

        Comment


        • #5
          Sorry to dredge up an old post but if anyone is reading this all strings are now html escaped in rails3

          Comment

          ban-img
          Working...
          X