Changeset 62b899d in Klonkt for src/services
- Timestamp:
- 06/16/2026 07:02:15 PM (3 months ago)
- Branches:
- main
- Children:
- fb02cc0
- Parents:
- 682d504
- Location:
- src/services
- Files:
-
- 2 edited
-
CircleFederation.js (modified) (1 diff)
-
CircleService.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/services/CircleFederation.js
r682d504 r62b899d 78 78 79 79 function stripHtml(s) { 80 return String(s || '').replace(/<[^>]+>/g, ' ').replace(/\s+/g, ' ').trim(); 80 return String(s || '') 81 .replace(/<[^>]+>/g, ' ') 82 .replace(/\[\[[^\]]*\]\]/g, ' ') // [[playlist:..]]/[[track:..]]/[[album:..]]-shortcodes weg 83 .replace(/\s+/g, ' ') 84 .trim(); 81 85 } 82 86 -
src/services/CircleService.js
r682d504 r62b899d 14 14 15 15 function stripHtml(s) { 16 return String(s || '').replace(/<[^>]+>/g, ' ').replace(/\s+/g, ' ').trim(); 16 return String(s || '') 17 .replace(/<[^>]+>/g, ' ') 18 .replace(/\[\[[^\]]*\]\]/g, ' ') // [[playlist:..]]/[[track:..]]/[[album:..]]-shortcodes weg 19 .replace(/\s+/g, ' ') 20 .trim(); 17 21 } 18 22 function iso(d) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)