lol_html 0.3.2

Streaming HTML rewriter/parser with CSS selector-based API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html><head>
  <title>Parsing: Numbers in classes</title>
  <style type="text/css">
 p { color: red; }
 .\31 \33 { color: green; }
</style>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"> <!-- bogus link to make sure it gets found -->
  <link rel="match" href="reference/this-line-green-color.xht">
  <meta name="flags" content="">
 </head>
 <body>
   <!--[ELEMENT('.\31 \33')]--><p class="13"><!--[TEXT('.\31 \33')]-->This line should be green.<!--[/TEXT('.\31 \33')]--></p><!--[/ELEMENT('.\31 \33')]-->

</body></html>