Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions libs/shared/src/nodes/usj/CharNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const VALID_CHAR_FOOTNOTE_MARKERS = [
"fw",
"fp",
"fv",
"fdc",
"fm",
"fdc", // Deprecated marker.
];
/** @see https://docs.usfm.bible/usfm/3.1/char/notes/crossref/index.html */
const VALID_CHAR_CROSS_REFERENCE_MARKERS = [
Expand All @@ -43,7 +43,7 @@ const VALID_CHAR_CROSS_REFERENCE_MARKERS = [
"xta",
"xot",
"xnt",
"xdc",
"xdc", // Deprecated marker.
];
/** @see https://docs.usfm.bible/usfm/3.1/char/index.html */
const VALID_CHAR_MARKERS = [
Expand Down Expand Up @@ -76,7 +76,8 @@ const VALID_CHAR_MARKERS = [
"wg",
"wh",
"wj",
// Note there are 2 deprecated markers intentionally not listed here: "addpn", "pro"
"addpn", // Deprecated marker.
"pro", // Deprecated marker.

// Text Formatting
"bd",
Expand Down
5 changes: 4 additions & 1 deletion libs/shared/src/nodes/usj/ParaNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ const VALID_PARA_MARKERS = [
"mi",
"lit",
"nb",
// Note there is 1 deprecated marker not listed here: "ph#"
"ph", // Deprecated marker.
"ph1", // Deprecated marker.
"ph2", // Deprecated marker.
"ph3", // Deprecated marker.
// Poetry
"q",
"q1",
Expand Down
Loading