Skip to content

[newsfeed] document allowedBasicHtmlTags option#387

Merged
KristjanESPERANTO merged 1 commit into
MagicMirrorOrg:developfrom
egeekial:docs/newsfeed-allowed-basic-html-tags
Jun 29, 2026
Merged

[newsfeed] document allowedBasicHtmlTags option#387
KristjanESPERANTO merged 1 commit into
MagicMirrorOrg:developfrom
egeekial:docs/newsfeed-allowed-basic-html-tags

Conversation

@egeekial

Copy link
Copy Markdown
Contributor

Documents the new allowedBasicHtmlTags newsfeed config option added in MagicMirrorOrg/MagicMirror#4176 (merged).

The option lets users opt into rendering a strict allowlist of basic inline HTML formatting tags (b, strong, i, em, u, br, code, s, sub, sup) in feed titles and descriptions, instead of escaping them. This fixes feeds (e.g. The Atlantic) that encode emphasis as entities. Any tag outside the safe list is ignored, and all other HTML is escaped, so injection is not possible. Default is [], preserving current behavior.

@KristjanESPERANTO KristjanESPERANTO left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks 🙂

@KristjanESPERANTO KristjanESPERANTO merged commit 53f6851 into MagicMirrorOrg:develop Jun 29, 2026
rejas added a commit that referenced this pull request Jul 1, 2026
* docs: improve autostart guide with user systemd service for full Electron UI (#345)

* Update autostart.md

Improve autostart documentation: add user systemd service for full Electron UI with logging and environment variables

* Update autostart.md

docs: address PR feedback — clarify display server and disable logging by default

* Update autostart.md

docs: verified the environment inherited by systemd --user, ensured DISPLAY=:0 and WAYLAND_DISPLAY=wayland-0 is set up automatically

* Update autostart.md

docs: updated Troubleshooting section

* clarify systemd service behavior + minor changes

- Add platform note: Clarify guide is for Raspberry Pi OS Desktop
- Fix typo: WAYLAND_DIAPLAY → WAYLAND_DISPLAY
- Fix misleading comment: System services start on boot, not after user login
- Remove trailing whitespace and newline

---------

Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com>

* style: set carbon ads background color to inherit (#350)

* location of default modules changed  (#353)

see MagicMirrorOrg/MagicMirror#4019

* move custom.css from css to config (#354)

* update variables in config

* add secrets.md

* fix typo

* add missing "

* node_modules/vitepress/types/default-theme.d.ts

* apply Prettier formatting

* handle cspell issues

* add weatherapi options to weather module configuration (#359)

* docs(compliments): clarify remoteFile path resolution and limitations (#360)

* docs: correct loaded() - server-side only, not a client-side hook (#361)

Document that loaded() belongs to node_helper, not Module.
Add async/Promise support to the start() docs as the correct
way to handle asynchronous module initialization.

* docs: clarify that public folder requires node_helper.js (#362)

* docs: explain physical concept and hardware scope on landing page (#365)

Add a short paragraph to index.md that explains what a MagicMirror
physically is, clarifies that this documentation covers the software
side only, and points newcomers to the community showcase for
hardware build inspiration.

Closes MagicMirrorOrg/MagicMirror#3282

* add weather templates (#366)

* weather: add themes example

* calendar: align showEnd and dateEndFormat defaults (#368)

* fix failing tests

* documentation for secrets and cors (#374)

* Add Buienradar weather provider (#382)

* docs(introduction): clarify usage of functions in config.js for browser availability

* docs(introduction): add export statement for config in config.js example

* chore: update devDependencies (#386)

* newsfeed: document allowedBasicHtmlTags option (#387)

* ci: run PR checks also for develop PRs (#388)

* ci: run PR checks also for develop PRs

* ci: update checkout action to v7

* ci: add dependabot config

* chore: add prettier-ignore comments to prevent line break

---------

Co-authored-by: Github Actions <actions@github.com>
Co-authored-by: Станислав <52878917+vectorman115@users.noreply.github.com>
Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com>
Co-authored-by: Karsten Hassel <hassel@gmx.de>
Co-authored-by: veeck <gitkraken@veeck.de>
Co-authored-by: sam detweiler <sdetweil@gmail.com>
Co-authored-by: Andrés Vanegas Jiménez <142350+angeldeejay@users.noreply.github.com>
Co-authored-by: Morgan McBee <egeekial@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants