summaryrefslogtreecommitdiff
path: root/src/Nodes
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-11-18 19:40:18 +0000
committerAndres Rey <[email protected]>2018-11-18 19:40:18 +0000
commit59a9b6e85f5016f0cf30c243a36f08b0b63f9160 (patch)
tree73f31e06df087de1055263e194f38c1cb466d968 /src/Nodes
parentb971e6755f689adda77a0891e9447ed9a920c528 (diff)
Add comment about issue with datatables
Diffstat (limited to 'src/Nodes')
-rw-r--r--src/Nodes/NodeTrait.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Nodes/NodeTrait.php b/src/Nodes/NodeTrait.php
index 839fa85..cfd5ebb 100644
--- a/src/Nodes/NodeTrait.php
+++ b/src/Nodes/NodeTrait.php
@@ -87,6 +87,8 @@ trait NodeTrait
* This means that even if we mark the tables in a previous step, when we want to retrieve that information,
* all the custom properties are in their default values. Somehow we need to find a way to make these properties
* permanent across the whole DOM.
+ *
+ * @see https://stackoverflow.com/questions/35654709/php-registernodeclass-and-reusing-variable-names
*/
return $this->hasAttribute('readabilityDataTable')
&& $this->getAttribute('readabilityDataTable') === '1';