mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-76921 atto_html: Upgrade JS Beautify to 1.14.7
This commit is contained in:
parent
12a8176926
commit
4ad4d9287c
@ -12,7 +12,7 @@
|
||||
<location>yui/src/beautify</location>
|
||||
<name>jsbeautify</name>
|
||||
<description>Beautify HTML code in Atto.</description>
|
||||
<version>1.14.6</version>
|
||||
<version>1.14.7</version>
|
||||
<license>MIT</license>
|
||||
<repository>https://github.com/beautify-web/js-beautify</repository>
|
||||
<copyrights>
|
||||
|
@ -8119,7 +8119,7 @@ Beautifier.prototype._get_tag_open_token = function(raw_token) { //function to g
|
||||
|
||||
parser_token.is_unformatted = !parser_token.tag_complete && in_array(parser_token.tag_check, this._options.unformatted);
|
||||
parser_token.is_content_unformatted = !parser_token.is_empty_element && in_array(parser_token.tag_check, this._options.content_unformatted);
|
||||
parser_token.is_inline_element = in_array(parser_token.tag_name, this._options.inline) || parser_token.tag_start_char === '{';
|
||||
parser_token.is_inline_element = in_array(parser_token.tag_name, this._options.inline) || parser_token.tag_name.includes("-") || parser_token.tag_start_char === '{';
|
||||
|
||||
return parser_token;
|
||||
};
|
||||
|
File diff suppressed because one or more lines are too long
@ -8119,7 +8119,7 @@ Beautifier.prototype._get_tag_open_token = function(raw_token) { //function to g
|
||||
|
||||
parser_token.is_unformatted = !parser_token.tag_complete && in_array(parser_token.tag_check, this._options.unformatted);
|
||||
parser_token.is_content_unformatted = !parser_token.is_empty_element && in_array(parser_token.tag_check, this._options.content_unformatted);
|
||||
parser_token.is_inline_element = in_array(parser_token.tag_name, this._options.inline) || parser_token.tag_start_char === '{';
|
||||
parser_token.is_inline_element = in_array(parser_token.tag_name, this._options.inline) || parser_token.tag_name.includes("-") || parser_token.tag_start_char === '{';
|
||||
|
||||
return parser_token;
|
||||
};
|
||||
|
@ -2406,7 +2406,7 @@ Beautifier.prototype._get_tag_open_token = function(raw_token) { //function to g
|
||||
|
||||
parser_token.is_unformatted = !parser_token.tag_complete && in_array(parser_token.tag_check, this._options.unformatted);
|
||||
parser_token.is_content_unformatted = !parser_token.is_empty_element && in_array(parser_token.tag_check, this._options.content_unformatted);
|
||||
parser_token.is_inline_element = in_array(parser_token.tag_name, this._options.inline) || parser_token.tag_start_char === '{';
|
||||
parser_token.is_inline_element = in_array(parser_token.tag_name, this._options.inline) || parser_token.tag_name.includes("-") || parser_token.tag_start_char === '{';
|
||||
|
||||
return parser_token;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user