Comment 6 for bug 935925

Revision history for this message
Brian Carlson (abutilize) wrote :

Reproduction is VERY easy with 2.08

$ emacs --version
GNU Emacs 23.1.1
Copyright (C) 2009 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

emacs -Q -l ~/.elisp/nxhtml/autostart.el

__TRY__ to add a single quote to the css section of the following html input:

--8<------------------ cut here -------------------- start ----------------->8---
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test</title>
</head>
<body>
<h1>It works!</h1>
Try to add a single quote inside the style attribute
<span style="background-color: #DDD;">here</span>
</body>
</html>
--8<------------------ cut here -------------------- end ----------------->8---

This will cause emacs to freeze and push emacs to using 100% CPU