Changeset 3460020
- Timestamp:
- 02/12/2026 02:21:11 PM (6 weeks ago)
- Location:
- smarttoc-lite/trunk
- Files:
-
- 3 edited
-
includes/generate-toc.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
smarttoc-lite.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smarttoc-lite/trunk/includes/generate-toc.php
r3336003 r3460020 33 33 $tag = strtolower($heading[1]); 34 34 $attrs = $heading[2]; 35 $text = wp_strip_all_tags($heading[3]);35 $text = preg_replace('/\s+/u', ' ', trim(html_entity_decode(wp_strip_all_tags($heading[3])))); 36 36 37 37 if (preg_match('/id=[\'"]([^\'"]+)[\'"]/i', $attrs, $id_match)) { -
smarttoc-lite/trunk/readme.txt
r3448557 r3460020 3 3 Tags: table of contents, wordpress toc, block editor, accessibility, seo 4 4 Requires at least: 5.6 5 Tested up to: 6.9 5 Tested up to: 6.9.1 6 6 Requires PHP: 7.2 7 Stable tag: 1.1. 27 Stable tag: 1.1.3 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 74 74 == Changelog == 75 75 76 = 1.1.3 = 77 * Fix: Removed extra spaces and improved text sanitization in TOC items. 78 76 79 = 1.1.2 = 77 80 * Fix: TOC no longer appears in excerpts. … … 99 102 == Upgrade Notice == 100 103 104 = 1.1.3 = 105 * Fix: Removed extra spaces and improved text sanitization in TOC items. 106 101 107 = 1.1.2 = 102 108 * Fixes TOC showing in excerpts. -
smarttoc-lite/trunk/smarttoc-lite.php
r3448557 r3460020 4 4 * Plugin URI: https://wordpress.org/plugins/smarttoc-lite/ 5 5 * Description: Create a responsive Table of Contents (TOC) for WordPress posts and pages. Features include automatic insertion, customizable styles, live preview, shortcode support, and accessibility. 6 * Version: 1.1. 26 * Version: 1.1.3 7 7 * Author: SinergoData 8 8 * Author URI: https://sinergodata.com/ … … 27 27 * Plugin version. 28 28 */ 29 const VERSION = '1.1. 2';29 const VERSION = '1.1.3'; 30 30 31 31 /**
Note: See TracChangeset
for help on using the changeset viewer.