Fix special characters
This commit is contained in:
parent
17a2cd156d
commit
89c3781219
@ -48,9 +48,11 @@ export function ComplexFamilyTree(p: {
|
||||
d.data.dead ? "✝" : ""
|
||||
}`,
|
||||
(d) => {
|
||||
let s = `${d.data.birthday || ""} ${
|
||||
d.data.deathday ? " ✝ " + d.data.deathday : ""
|
||||
}`;
|
||||
let birthDeath = [];
|
||||
if (d.data.birthday) birthDeath.push(d.data.birthday);
|
||||
if (d.data.deathday) birthDeath.push(d.data.deathday);
|
||||
|
||||
let s = birthDeath.join(" -> ");
|
||||
|
||||
if (d.data.wedding_state || d.data.dateOfWedding) {
|
||||
let weddingInfo = [];
|
||||
@ -113,6 +115,8 @@ export function ComplexFamilyTree(p: {
|
||||
|
||||
dstSVG = dstSVG.replaceAll(`>UNKNOWN<`, `fill="#000">INCONNU<`);
|
||||
|
||||
dstSVG = dstSVG.replaceAll("✝", " ");
|
||||
|
||||
let womanTiles = getAllIndexes(dstSVG, "card-female");
|
||||
for (const i of womanTiles) {
|
||||
dstSVG =
|
||||
|
Loading…
Reference in New Issue
Block a user