Renaming + formatting

This commit is contained in:
jf-cbd
2025-09-15 11:34:22 +02:00
committed by Molkobain
parent 21a11cf1b7
commit 3b2dd3d27b

View File

@@ -3045,9 +3045,9 @@ TXT
$oXpath = new \DOMXPath($oDom);
$oNodes = $oXpath->query('//a[@data-object-class and @data-object-key]');
foreach ($oNodes as $oNode) {
$sObjClass = $oNode->getAttribute('data-object-class');
$sObjId = $oNode->getAttribute('data-object-key');
foreach ($oNodes as $oObjNode) {
$sObjClass = $oObjNode->getAttribute('data-object-class');
$sObjId = $oObjNode->getAttribute('data-object-key');
$sText = $oNode->getText();
// Ensure that what we found is actually configured as a mention