0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Add HR as a leaf node name.

This commit is contained in:
Neil Jenkins 2016-05-01 16:33:47 +10:00
parent e3d0576a38
commit 6a28aafd2f
3 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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
};