You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PROBLEM
When parsing a document having: <input name="me" value="my { dog is nice"> the document is parsed in an invalid way. The value property for $input in
foreach($this->html->find('input[name='me']') as $input)
is "my {dog is nice" plus all remaining HTML, instead of "my {dog is nice".
WORKAROUND
I commented $this->remove_noise("'({\w)(.*?)(})'s", true); in the load method, but I guess an improvement in remove_noise in order to be aware of quotes would be a better solution.
Regards, Pablo.
The text was updated successfully, but these errors were encountered:
PROBLEM
When parsing a document having: <input name="me" value="my { dog is nice"> the document is parsed in an invalid way. The value property for $input in
is "my {dog is nice" plus all remaining HTML, instead of "my {dog is nice".
WORKAROUND
I commented $this->remove_noise("'({\w)(.*?)(})'s", true); in the load method, but I guess an improvement in remove_noise in order to be aware of quotes would be a better solution.
Regards, Pablo.
The text was updated successfully, but these errors were encountered: