cosmoarunn / htmlwrapper

Automatically exported from code.google.com/p/htmlwrapper
0 stars 0 forks source link

last-but-one <link> tag will not be parsed when there is more than one in the html document. #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. These steps are only theoretical, I haven't tested the scenario I think
I've fixed.
2. Create an html file for wrapper with two stylesheet <link> elements, and
_NO OTHER_ links.
3. Load the html in your browser and determine that the second stylesheet
hasn't been loaded.

What is the expected output? What do you see instead?
load the second stylesheet and combine with the first.

What version of the product are you using? On what operating system?
version1, osx 10.6, firefox3.5

Please provide any additional information below.
I'm attaching my changes to the original source, which I believe will fix
this (possible) issue. I say "possible", as I may be reading the source
wrong - there are a few lines that don't need to be applied to the svn, as
they're only extra trace()s which were to help me debug my problem with
rendering (due to CSS issues?).

Original issue reported on code.google.com by diddle...@gmail.com on 3 Nov 2009 at 8:44

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by diddle...@gmail.com on 3 Nov 2009 at 10:25

GoogleCodeExporter commented 9 years ago
forgot to actually say that I've uploaded the changes - the fixed svn revision 
is #24

Original comment by diddle...@gmail.com on 3 Nov 2009 at 10:26