Skip to content

Commit 872bb05

Browse files
committed
Updated docs to reflect implemented QueryPath support.
Note, numerous spaces to end lines were also cleaned up.
1 parent f3a4f6e commit 872bb05

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ But after some initial refactoring work, we began a new parser.
99
- Composer support
1010
- Event-based (SAX-like) parser
1111
- DOM tree builder
12-
- Interoperability with QueryPath [[in progress](https://github.com/technosophos/querypath/issues/114)]
12+
- Interoperability with [QueryPath](https://github.com/technosophos/querypath)
1313
- Runs on **PHP** 5.3.0 or newer and **HHVM** 3.2 or newer
1414

15-
[![Build Status](https://travis-ci.org/Masterminds/html5-php.png?branch=master)](https://travis-ci.org/Masterminds/html5-php)
16-
[![Latest Stable Version](https://poser.pugx.org/masterminds/html5/v/stable.png)](https://packagist.org/packages/masterminds/html5)
15+
[![Build Status](https://travis-ci.org/Masterminds/html5-php.png?branch=master)](https://travis-ci.org/Masterminds/html5-php)
16+
[![Latest Stable Version](https://poser.pugx.org/masterminds/html5/v/stable.png)](https://packagist.org/packages/masterminds/html5)
1717
[![Code Coverage](https://scrutinizer-ci.com/g/Masterminds/html5-php/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Masterminds/html5-php/?branch=master)
1818
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Masterminds/html5-php/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Masterminds/html5-php/?branch=master)
1919

@@ -39,7 +39,7 @@ install.
3939

4040
## Basic Usage
4141

42-
HTML5-PHP has a high-level API and a low-level API.
42+
HTML5-PHP has a high-level API and a low-level API.
4343

4444
Here is how you use the high-level `HTML5` library API:
4545

@@ -147,14 +147,14 @@ The serializer is broken into three parts:
147147

148148
- The `OutputRules` contain the rules to turn DOM elements into strings. The
149149
rules are an implementation of the interface `RulesInterface` allowing for
150-
different rule sets to be used.
150+
different rule sets to be used.
151151
- The `Traverser`, which is a special-purpose tree walker. It visits
152152
each node node in the tree and uses the `OutputRules` to transform the node
153153
into a string.
154154
- `HTML5` manages the `Traverser` and stores the resultant data
155155
in the correct place.
156156

157-
The serializer (`save()`, `saveHTML()`) follows the
157+
The serializer (`save()`, `saveHTML()`) follows the
158158
[section 8.9 of the HTML 5.0 spec](http://www.w3.org/TR/2012/CR-html5-20121217/syntax.html#serializing-html-fragments).
159159
So tags are serialized according to these rules:
160160

@@ -169,8 +169,8 @@ issues known issues that are not presently on the roadmap:
169169

170170
- Namespaces: HTML5 only [supports a selected list of namespaces](http://www.w3.org/TR/html5/infrastructure.html#namespaces)
171171
and they do not operate in the same way as XML namespaces. A `:` has no special
172-
meaning.
173-
By default the parser does not support XML style namespaces via `:`;
172+
meaning.
173+
By default the parser does not support XML style namespaces via `:`;
174174
to enable the XML namespaces see the [XML Namespaces section](#xml-namespaces)
175175
- Scripts: This parser does not contain a JavaScript or a CSS
176176
interpreter. While one may be supplied, not all features will be
@@ -187,13 +187,13 @@ issues known issues that are not presently on the roadmap:
187187
* Per the spec, many legacy tags are admitted and correctly handled,
188188
even though they are technically not part of HTML5.
189189
- Attribute names and values: Due to the implementation details of the
190-
PHP implementation of DOM, attribute names that do not follow the
190+
PHP implementation of DOM, attribute names that do not follow the
191191
XML 1.0 standard are not inserted into the DOM. (Effectively, they
192192
are ignored.) If you've got a clever fix for this, jump in!
193193
- Processor Instructions: The HTML5 spec does not allow processor
194194
instructions. We do. Since this is a server-side library, we think
195195
this is useful. And that means, dear reader, that in some cases you
196-
can parse the HTML from a mixed PHP/HTML document. This, however,
196+
can parse the HTML from a mixed PHP/HTML document. This, however,
197197
is an incidental feature, not a core feature.
198198
- HTML manifests: Unsupported.
199199
- PLAINTEXT: Unsupported.

0 commit comments

Comments
 (0)