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
Trying to parse the DokuWiki CSS file at the link below generates an exception in CSSParser::parseIdentifier() on line 115 with the message "Identifier expected, got ;widt".
Examining the CSS file shows a duplicated semicolon (after right:237px). I suspect this is affecting the parser - will have a look and see if I can find an easy fix.
CSSParser::parseIdentifier throws an exception because CSSParser::parseCharacter returns null when asked to parse a ';' character. A very crude solution to this problem is to add the code:
while($this->peek() == ';') { $this->consume(); }
to the beginning of CSSParser::parseRule. A better solution might be to engineer the Rule parser to handle "empty rules" but I haven't had the time to look into the code enough to figure out how to make it do this... I'll leave the issue open for further discussion on this if nec.
Trying to parse the DokuWiki CSS file at the link below generates an exception in CSSParser::parseIdentifier() on line 115 with the message "Identifier expected, got ;widt".
CSS file link: http://www.syntilect.com/cgf/lib/exe/css.php
Examining the CSS file shows a duplicated semicolon (after right:237px). I suspect this is affecting the parser - will have a look and see if I can find an easy fix.
The text was updated successfully, but these errors were encountered: