Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added wbr self-closing tag #7

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
9e4231f
added wbr selfClosing tag
Jun 15, 2017
771fb71
updage version upto 1.0.2-wbr
Jun 15, 2017
860d4ad
added col selfClosing tag
Jun 15, 2017
68e6a66
update verion upto 1.0.3-col
Jun 15, 2017
0f1c6a6
Добавлено распознавание атрибутов, начинающихся на _
markitosha Aug 12, 2017
9682fca
Переписан парсер html тегов
markitosha Aug 12, 2017
5c53cc0
Исправлено прохождение всех тестов парсером
markitosha Aug 12, 2017
4a2b56c
Исправлена работа парсера для случая с вложеными в атрибуты тегами
markitosha Aug 12, 2017
51ce795
Парсер переписан в терминах состояний
markitosha Aug 12, 2017
a083180
Исправлена ошибки при парсинге тегов в аттрибутах
markitosha Aug 12, 2017
388133b
Исправлена ошибка со знаком меньше в скриптах и стилях
markitosha Aug 12, 2017
2eb5755
Исправлена ошибка со знаком меньше в скриптах и стилях
markitosha Aug 12, 2017
0a311bc
Возвращены функции, необходимые для тестов. Удалены тесты для удаленн…
markitosha Aug 12, 2017
523e1f7
Удалены таймеры
markitosha Aug 17, 2017
d9fa978
Рефакторинг и комментарии
markitosha Aug 19, 2017
f102642
Исправлены опечатки
markitosha Aug 19, 2017
e4e4e57
Merge pull request #1 from markitosha/parcer
Aug 19, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,9 @@ var kSelfClosingElements = {
input: true,
area: true,
br: true,
hr: true
hr: true,
wbr: true,
col: true
};
var kElementsClosedByOpening = {
li: {li: true},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fast-html-parser",
"version": "1.0.1",
"version": "1.0.2-wbr",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please drop -wbr, or leave this commit off the PR. I can do a release later.

"description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.",
"main": "index.js",
"scripts": {
Expand Down