Skip to content

Commit e7d9a98

Browse files
committed
cleaning up javascript folder
1 parent 1f82b74 commit e7d9a98

File tree

4 files changed

+11
-976
lines changed

4 files changed

+11
-976
lines changed

javascript/parseXmlHtml.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,14 @@ const processTextFunctionsDefaultHtml = {
345345
<div class='permalink'>
346346
<a name='top' class='permalink'>
347347
`);
348-
if (ancestorHasTag(node, "MATTER")) {
349-
recursiveProcessTextHtml(getChildrenByTagName(node, "NAME")[0].firstChild, writeTo);
350-
} else {
351-
writeTo.push(displayTitle);
352-
}
348+
if (ancestorHasTag(node, "MATTER")) {
349+
recursiveProcessTextHtml(
350+
getChildrenByTagName(node, "NAME")[0].firstChild,
351+
writeTo
352+
);
353+
} else {
354+
writeTo.push(displayTitle);
355+
}
353356
writeTo.push(`
354357
</a>
355358
</div>

0 commit comments

Comments
 (0)