Update demo web page to highlight all error lines and ranges by default, encode single quotes in attributes.

This commit is contained in:
David Anson 2025-08-07 20:50:32 -07:00
parent 7676902b88
commit 10db83f719
2 changed files with 40 additions and 20 deletions

View file

@ -47,6 +47,9 @@ textarea {
font-style: italic;
white-space: pre-wrap;
}
.error {
background: rgb(255, 0, 0, 0.3);
}
.flex-rows {
display: flex;
flex-direction: column;
@ -64,7 +67,7 @@ textarea {
min-height: 0;
}
.highlight {
background: yellow;
background: rgb(255, 0, 0, 0.8);
}
.inset {
box-sizing: border-box;