Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Give textilize() a better, but still html safe experience

#4587

Make textilize() and friends automatically sanitize() the resulting content, offering a :safe => true option that will skip the sanitization.

Reported by Yehuda Katz (wycats) · May 13th, 2010 @ 12:29 AM

State: resolved
Milestone: 3.0.2
Assigned to: Yehuda Katz (wycats) Yehuda Katz (wycats)
Importance: High

Activity

  1. Michael Koziarski
    Michael Koziarski
    • Milestone cleared.

    should also change auto_link, simple_format and any other non-safe formatting functions.

    June 1st, 2010 @ 10:24 PM

  2. Santiago Pastorino
  3. Santiago Pastorino
  4. Yehuda Katz (wycats)
    Yehuda Katz (wycats)
    • State changed from open to resolved

    June 7th, 2010 @ 08:35 PM

  5. Rohit Arondekar
    Rohit Arondekar

    Commit for textilize_without_paragraph => http://github.com/rails/rails/commit/67f411c57b98f926d39042ba003cef...

    and ticket with patch for markdown => #4794 Fix markdown to handle :safe, safe input and add tests

    Sorry I hadn't seen this ticket until now. :(

    June 8th, 2010 @ 01:52 PM

  6. Santiago Pastorino
    Santiago Pastorino

    That's why you did the test ;)

    June 8th, 2010 @ 10:01 PM

  7. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to High

    October 15th, 2010 @ 11:01 PM