[Pkg-mozext-commits] [sage-extension] 48/49: [16320] recognize start tags with non-space characters after the forward slash

David Prévot taffit at moszumanska.debian.org
Fri May 1 03:10:56 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag sage_1_3_10
in repository sage-extension.

commit 8761f7f5f5d19f650766e5433ec3ce278f7aa826
Author: Peter Andrews <petea at jhu.edu>
Date:   Mon Jan 29 22:19:42 2007 +0000

    [16320] recognize start tags with non-space characters after the forward slash
---
 src/sage/content/simplehtmlparser.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/sage/content/simplehtmlparser.js b/src/sage/content/simplehtmlparser.js
index c3f2e82..6b73889 100644
--- a/src/sage/content/simplehtmlparser.js
+++ b/src/sage/content/simplehtmlparser.js
@@ -52,8 +52,7 @@ SimpleHtmlParser.prototype = {
 	handler:	null,
 
 	// regexps
-
-	startTagRe:	/^<([^<>\s\/]+)((\s+[^=<>\s]+(\s*=\s*((\"[^"]*\")|(\'[^']*\')|[^>\s]+))?)*)\s*\/?\s*>/m,
+	startTagRe:	/^<([^<>\s\/]+)((\s+[^=<>\s]+(\s*=\s*((\"[^"]*\")|(\'[^']*\')|[^>\s]+))?)*)\s*\/?.*?>/m,
 	endTagRe:	/^<\/([^>\s]+)[^>]*>/m,
 	attrRe:		/([^=\s]+)(\s*=\s*((\"([^"]*)\")|(\'([^']*)\')|[^>\s]+))?/gm,
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/sage-extension.git



More information about the Pkg-mozext-commits mailing list