Skip to content

Commit 530271b

Browse files
datho7561angelozerr
authored andcommitted
Do not format text content of <style> and <script>
Usually `<style>` contains CSS and `<script>` contains JavaScript (or some other scripting language), so the text content is probably manually formatted, and the whitespace shouldn't be adjusted. Fixes #1104 Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent 9b602f1 commit 530271b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,9 @@
371371
"screen",
372372
"synopsis",
373373
"pre",
374-
"xd:pre"
374+
"xd:pre",
375+
"style",
376+
"script"
375377
],
376378
"items": {
377379
"type": "string"

0 commit comments

Comments
 (0)