#46 √ resolved
Xavier Noria

details about snippet on page 398

Reported by Xavier Noria | December 25th, 2007 @ 04:09 PM | in Next Printing

The last example of strip_links (page 398) lacks the irb prompt (>>) and escapes the double quotes around the _blank attribute. Since the string is delimited by single quotes those backslashes end up in the string and we actually get invalid HTML.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »