Menu

#269 Setting new Attributes for a tag after parsing

v1.6
open
nobody
5
2009-02-02
2009-02-02
No

Dear All,
I am using htmlparser v1.6 and i have found out an error while adding new attributes. The error is as follows:

Given Input:
<img src="..." />

Expected Output:
<img src="..." newAttribute=value />

Output as of now:
<img src="..." /newAttribute=value>

I think this is happening because the text or content between "<" and ">" are treated as attributes with space being the separator.

Please kindly look into this.

thank you,
Vijaya Bhaskar Peddinti

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.