PuerkitoBio/goquery

BUG: Attr func can not get data if attr data have " Symbols

mengxifl opened this issue · 1 comments

html example

<div title=" this is a "title"  ">
mna commented

Hello,

This is in invalid html, the quotes inside the title need to be escaped (see https://validator.w3.org/nu/#textarea to validate your html, https://stackoverflow.com/questions/4015345/how-do-i-properly-escape-quotes-inside-html-attributes on how to properly escape quotes).

Martin