[Lxr-commits] CVS: lxr/lib/LXR/Lang generic.conf,1.38,1.39
Brought to you by:
ajlittoz
From: Andre-Littoz <ajl...@us...> - 2013-04-19 12:42:17
|
Update of /cvsroot/lxr/lxr/lib/LXR/Lang In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27165/lib/LXR/Lang Modified Files: generic.conf Log Message: Lang.pm, Lang/HTML.pm, Lang/generic.conf: fix for bug #234 (endless loop on href= in HTML) HTML hyperlink on href= can't be processed by the generic parser through an 'include' => { } due to multiple checks needed to distinguish between the different cases. Separate HTML parser created. Index: generic.conf =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Lang/generic.conf,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- generic.conf 12 Apr 2013 15:13:16 -0000 1.38 +++ generic.conf 19 Apr 2013 12:42:14 -0000 1.39 @@ -635,7 +635,7 @@ , { 'string' => [ "&", ";" ] } ] , 'include' => - { 'directive' => '([\\w]+=)()("|\')(.+)(\g{-3})' + { 'directive' => '(\w+=)()("|\')(.+)("|\')' , 'global' => [ '"', '"' , '"', '"', ''', "'" , '(?i)"', '"', '(?i)'', "'" |