mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
Add HR as a leaf node name.
This commit is contained in:
parent
e3d0576a38
commit
6a28aafd2f
3 changed files with 3 additions and 1 deletions
|
@ -175,6 +175,7 @@ var inlineNodeNames = /^(?:#text|A(?:BBR|CRONYM)?|B(?:R|D[IO])?|C(?:ITE|ODE)|D(
|
|||
|
||||
var leafNodeNames = {
|
||||
BR: 1,
|
||||
HR: 1,
|
||||
IMG: 1,
|
||||
INPUT: 1
|
||||
};
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,6 +4,7 @@ var inlineNodeNames = /^(?:#text|A(?:BBR|CRONYM)?|B(?:R|D[IO])?|C(?:ITE|ODE)|D(
|
|||
|
||||
var leafNodeNames = {
|
||||
BR: 1,
|
||||
HR: 1,
|
||||
IMG: 1,
|
||||
INPUT: 1
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue