mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Strip empty <p><br></p> tags and remove stray <br> between paragraphs in station diary views. public_index.php: after processing image shortcodes, remove empty paragraph placeholders and collapse <br> placed between </p> and <p>. rss.php: process image shortcodes for each entry (using $entry->images ?? []), clean the note content the same way, and output the cleaned content in the RSS <description>. This prevents extraneous blank lines and redundant breaks in rendered HTML and RSS feeds. |
||
|---|---|---|
| .. | ||
| config | ||
| controllers | ||
| core | ||
| helpers | ||
| hooks | ||
| language | ||
| libraries | ||
| logs | ||
| migrations | ||
| models | ||
| third_party | ||
| views | ||
| .htaccess | ||
| index.html | ||