Skip to content

Commit

Permalink
[doc] Fix HTML found by the HTM8 validator
Browse files Browse the repository at this point in the history
It might be called DML8 or HX8 too

Check the new site.  The blog has some errors too.
  • Loading branch information
Andy C committed Jan 10, 2025
1 parent 1b8213e commit fd5cc5f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
10 changes: 9 additions & 1 deletion data_lang/htm8-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,21 @@ EOF

# Takes ~13 seconds
test-site() {
local new_site=${1:-}

# TODO:
# - test that the top level lexes
# - test that each tag lexers
# - test that each quoted attribute lexes
# - test that tags are balanced

pushd ../../oilshell/oilshell.org__deploy
if test -n "$new_site"; then
dir='../oils.pub__deploy'
else
dir='../../oilshell/oilshell.org__deploy'
fi

pushd $dir

# Too many files
# site-files | xargs wc -l | grep total
Expand Down
2 changes: 1 addition & 1 deletion doc/j8-notation.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ These relationships might help you understand the 3 styles of strings:

<b>&subset;</b>

<span class="set">Strings representable by `b''`</span></br>
<span class="set">Strings representable by `b''`</span><br/>
&equals; All Byte Strings

</div>
Expand Down
4 changes: 2 additions & 2 deletions doc/proc-func.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ doc will elaborate on these issues.
- `camelCase`
- tr
- [Syntax Mode](command-vs-expression-mode.html) of call site
- Command Mode</td>
- Expression Mode</td>
- Command Mode
- Expression Mode
- tr
- Kinds of Parameters / Arguments
- <!-- empty -->
Expand Down
4 changes: 2 additions & 2 deletions doc/ysh-doc-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ Design goals:

## Operations

- doc('<p>') - validates it and creates a value.Obj
- docQuery(mydoc, '#element') - does a simple search
- `doc('<p>')` - validates it and creates a value.Obj
- `docQuery(mydoc, '#element')` - does a simple search

Constructors:

Expand Down

0 comments on commit fd5cc5f

Please sign in to comment.