Liam Newman
3296dd0d85
Support wrapping script and style content
...
Content inside style and script tags can be wrapped in comment or
cdata to allow the text to contain characters and string that
would otherwise not be allowed in html.
Before this change the html beautifier would not see the wrappers.
This meant that it could incorrectly terminate script or style
tags. It also meant that the wrapper would be passed to child
beautifiers and they would have to handle them.
This change makes the html beautfier recognize the wrappers and
correctly handle formatting of them itself. The child beautifiers
see only the content not the wrapper.
Fixes #1641
2019-04-16 12:27:05 -07:00
Liam Newman
d88c6a6462
Releases start and end on master
2019-04-15 09:51:31 -07:00
Hanabishi
83edf549a6
Packages update
...
(finally resolved vulnerability in mocha)
2019-04-12 08:35:45 -07:00
Hanabishi
a5237a7036
Declare 'indent_empty_lines' in default_options
2019-04-12 08:35:45 -07:00
Hanabishi
c2443b161d
Rebuild dependency tree due to vulnerability
...
https://www.npmjs.com/advisories/788
2019-04-12 08:35:45 -07:00
Hanabishi
a94020125c
Changed css tests to use 4 space indenting instead of tabs
2019-04-12 08:35:45 -07:00
Liam Newman
2ab93fbe6b
Merge pull request #1660 from charmis/patch-1
...
Removed duplicate "and"
2019-04-12 08:31:24 -07:00
Charmis Varghese
72df3f77fe
Removed duplicate "and"
2019-04-12 10:45:20 -04:00
Liam Newman
08c18a5fe7
Merge pull request #1654 from kalbasit/nixpkgs_fix-js-beautifier
...
Fix python test-packer
2019-04-11 23:18:11 -07:00
Liam Newman
1c07934239
Merge branch 'master' into nixpkgs_fix-js-beautifier
2019-04-11 18:21:58 -07:00
Liam Newman
792294b7ca
Further cleanup of python test
2019-04-11 18:12:40 -07:00
Liam Newman
6361c4c738
Merge pull request #1659 from asteinha/master
...
Fixing https://github.com/beautify-web/js-beautify/issues/1658
2019-04-11 17:41:03 -07:00
asteinha
7400264bf3
Fixing test sources.
2019-04-12 02:09:37 +02:00
asteinha
cc8a5ffdf6
Regression test.
2019-04-11 12:47:22 -04:00
asteinha
7053d112b0
Formatting consistent with the rest of the file.
2019-04-10 17:19:05 -04:00
asteinha
7c322a5bcc
Continuation line additional indentation.
2019-04-10 17:05:08 -04:00
asteinha
6feb0de2ae
Fixing https://github.com/beautify-web/js-beautify/issues/1658
2019-04-10 16:58:35 -04:00
Liam Newman
b39567226e
Merge branch 'master' into nixpkgs_fix-js-beautifier
2019-04-08 15:10:57 -07:00
Liam Newman
25f56a2a4b
Merge pull request #1656 from averydev/allow-escape-exclamation
...
stop reformatting valid css \! into invalid \ !
2019-04-08 15:03:19 -07:00
Avery Bloom
8b59d00266
fix line length
2019-04-07 13:45:41 +09:00
Avery Bloom
7111267cf8
stop reformatting valid css \! into invalid \ !
2019-04-07 13:30:10 +09:00
Wael M. Nasreddine
78e35a11cb
Fix python test-packer
2019-03-31 21:01:33 -07:00
Liam Newman
d869f9dc26
Bump version numbers for 1.9.1
2019-03-25 14:35:27 -07:00
Liam Newman
d5226298d7
Update Changelog
2019-03-25 14:32:02 -07:00
Liam Newman
7532d55213
Merge pull request #1645 from HanabishiRecca/master
...
New option: indent_empty_lines
2019-03-25 13:45:14 -07:00
HanabishiRecca
ad8d6aeb1e
Option in web version
...
+ some fixes of HTML by the W3 validator
2019-03-25 13:21:45 -07:00
HanabishiRecca
3dea2824bf
CLI option & readme update
2019-03-25 13:21:45 -07:00
HanabishiRecca
3470ea5013
CSS & HTML tests
2019-03-25 13:21:06 -07:00
HanabishiRecca
212fe615e6
Additional tests
2019-03-25 13:21:06 -07:00
HanabishiRecca
e1ec2322eb
Implemented Makefile "alltest" flag
...
Flag was presented in "help" but wasn't implemented
2019-03-25 13:21:06 -07:00
HanabishiRecca
8f9d86947f
Option renamed
...
preserve_empty_lines_indent -> indent_empty_lines
2019-03-25 13:21:06 -07:00
Liam Newman
6db4a03841
Add initial tests
2019-03-25 13:21:06 -07:00
HanabishiRecca
e42c24c007
Fixed test crash due to encoding
2019-03-25 13:21:06 -07:00
HanabishiRecca
09d92c0e67
New option: preserve_empty_lines_indent
...
This option allows to keep indentation on empty lines.
2019-03-25 13:21:06 -07:00
Liam Newman
1f7af59468
Limit tag auto-close for td and th tags
...
Fixes #1649
2019-03-25 13:20:15 -07:00
Liam Newman
7487eb3f3f
Update and rename .github/PULL_REQUEST_TEMPLATE/add_new_feature_option.md to .github/PULL_REQUEST_TEMPLATE.md
2019-03-21 17:19:27 -07:00
Liam Newman
9bc2100192
Create add_new_feature_option.md
2019-03-21 17:07:58 -07:00
Liam Newman
ee059d1454
Updated Directives documentation
2019-03-02 13:36:45 -08:00
Liam Newman
8fa003e565
Bump version numbers for 1.9.0
2019-02-28 08:32:58 -08:00
Liam Newman
66f611a351
Update Changelog
2019-02-27 17:38:53 -08:00
Liam Newman
027ba4e3ad
Increase milestone and issue count maximums
2019-02-27 17:38:32 -08:00
Liam Newman
f47d361887
Update instructions with make js
2019-02-07 15:41:50 -08:00
Liam Newman
2742799a88
Bump version numbers for 1.9.0-beta5
2019-01-30 12:13:55 +01:00
Liam Newman
2f1685a75c
Revert "Revert "Stop bothering with node6 on windows""
...
This reverts commit 954d552748ab2dc0bcb15ff34aad0fb148705453.
2019-01-30 12:13:34 +01:00
Liam Newman
954d552748
Revert "Stop bothering with node6 on windows"
...
This reverts commit 0647a1d13952ff1fcf0b3e540e8f0d602ce900c4.
2019-01-30 12:05:03 +01:00
Liam Newman
574d1c5e60
Remove npm install from pipeline
2019-01-30 11:58:03 +01:00
Liam Newman
4a23c41912
Autoupdate project local npm
2019-01-30 11:56:42 +01:00
Liam Newman
17149d2ed1
Report npm version
2019-01-30 11:41:47 +01:00
Liam Newman
605e398267
Report npm version
2019-01-30 11:37:32 +01:00
Liam Newman
e2cb65fa00
Try to fix package-lock again
2019-01-30 11:16:40 +01:00