Improve handling of BR tags
This commit is contained in:
parent
9518fa6fce
commit
b3c016fe47
3 changed files with 30 additions and 6 deletions
|
@ -257,6 +257,9 @@ function getRawPathFromCell(cell: string | PathCell): [string, boolean] {
|
|||
let regular = true;
|
||||
|
||||
if (typeof cell === "string") {
|
||||
if (/<br\s*\/?>/.test(cell)) {
|
||||
regular = false;
|
||||
}
|
||||
composite += cell;
|
||||
} else if (cell.type === "transclusion") {
|
||||
const [stringified, segmentRegular] = stringifyTransclusionCell(cell);
|
||||
|
|
Reference in a new issue