Skip to content

Commit

Permalink
Lint code [PUB-262]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-dev-trev committed Oct 9, 2024
1 parent d84120a commit 48617c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Helpers/StringHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public static function parseFootnotes($oldContent, $limiter = null)
$dom->loadHTML('<?xml encoding="utf-8" ?>' . $newContent, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);

$xpath = new \DOMXpath($dom);

// If a limiter is set, restrict to paragraphs within that id
if ($limiter) {
$nodes = $xpath->query("//div[@id='$limiter']//p");
Expand Down

0 comments on commit 48617c3

Please sign in to comment.