commit ec27937ade419ab02aa7e40a22e0289f337014cc
parent 4ea3ac01ef6e9c68c468318fd61b23e3755d5224
Author: markseu <mark2011@mayberg.se>
Date: Wed, 30 Aug 2023 21:27:13 +0200
Updated core, text description without footnotes
Diffstat:
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/system/extensions/core.php b/system/extensions/core.php
@@ -2,7 +2,7 @@
// Core extension, https://github.com/annaesvensson/yellow-core
class YellowCore {
- const VERSION = "0.8.115";
+ const VERSION = "0.8.116";
const RELEASE = "0.8.22";
public $content; // content files
public $media; // media files
@@ -2398,7 +2398,9 @@ class YellowToolbox {
$lengthMax = 0;
}
if ($lengthMax<=0 || !$elementFound) break;
- if ($hiddenLevel>0 || preg_match("/aria-hidden=\"true\"/i", $elementAttributes)) {
+ if ($hiddenLevel>0 ||
+ preg_match("/aria-hidden=\"true\"/i", $elementAttributes) ||
+ preg_match("/role=\"doc-noteref\"/i", $elementAttributes)) {
if (!is_string_empty($elementName) && is_string_empty($elementEnd) && !in_array(strtolower($elementName), $elementsVoid)) {
if (is_string_empty($elementStart)) {
++$hiddenLevel;
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -1,11 +1,11 @@
# Datenstrom Yellow update settings
Extension: Core
-Version: 0.8.115
+Version: 0.8.116
Description: Core functionality of your website.
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/core.zip
-Published: 2023-05-24 13:27:21
+Published: 2023-08-30 21:11:09
Developer: Anna Svensson
Tag: feature
system/extensions/core.php: core.php, create, update