Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: HTML tags are displayed literally on this specific article #1293

Closed
guihkx opened this issue Feb 7, 2024 · 0 comments · Fixed by #1294
Closed

[BUG]: HTML tags are displayed literally on this specific article #1293

guihkx opened this issue Feb 7, 2024 · 0 comments · Fixed by #1294
Assignees
Labels
Status-Fixed Ticket is resolved. Type-Defect This is BUG!!!
Milestone

Comments

@guihkx
Copy link
Contributor

guihkx commented Feb 7, 2024

Brief description of the issue

This RSS feed (XML backup) has recently published an article that RSS Guard can't seem to render correctly:

image

As you can see, HTML tags are displayed in their literal form.

Strangely, all the other articles from this same source are rendered correctly, it's just this one that's broken.

Also, the screenshot above is from the non-Lite version, but this also happens on the Lite version.

How to reproduce the bug?

  1. Add this RSS feed: https://tecnoblog.net/feed/
  2. Update feeds list
  3. Find an article titled: Exclusivo: TVs Hisense serão fabricadas pela Multi no Brasil
  4. Open it

What was the expected result?

HTML tags should not be visible to the user.

What actually happened?

HTML tags in the article are displayed.

Debug log

time="     0.010" type="debug" -> core: Starting RSS Guard 4.6.3.
time="     0.010" type="debug" -> core: Current UTC date/time is 2024-02-07T03:46:24Z.
time="     0.231" type="debug" -> core: Initializing settings in '/home/gui/.config/RSS Guard 4/config/config.ini' (non-portable way).
time="     0.233" type="debug" -> core: Starting to load active localization. Desired localization is 'en_US'.
time="     0.235" type="debug" -> core: Application localization 'en_US' loaded successfully, specifically sublocalization 'en_US' was loaded.
time="     0.235" type="warning" -> core: Qt localization 'en_US' WAS NOT loaded successfully.
time="     0.864" type="debug" -> database: File-based SQLite database connection 'DatabaseFactory' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     0.864" type="debug" -> database: File-based SQLite database has version '8'.
time="     0.865" type="debug" -> gui: Available icon theme paths: (/home/gui/.local/share/icons, /home/gui/.local/share/flatpak/exports/share/icons, /var/lib/flatpak/exports/share/icons, /usr/share/icons, :/icons, :/graphics, /home/gui/.config/RSS Guard 4/icons, /tmp/.mount_rssguatOhwBj/usr/bin/icons)
time="     0.871" type="debug" -> gui: Icon theme 'breeze' already loaded.
time="     0.872" type="debug" -> gui: Found path of base skin: ':/skins/nudus-base'.
time="     0.872" type="debug" -> gui: Base file ':/skins/nudus-base/html_wrapper.html' exists, using it for the skin.
time="     0.872" type="debug" -> gui: Local file ':/skins/nudus-light/html_style.css' exists, using it for the skin.
time="     0.872" type="debug" -> gui: Base file ':/skins/nudus-base/html_enclosure_image.html' exists, using it for the skin.
time="     0.872" type="debug" -> gui: Base file ':/skins/nudus-base/html_single_message.html' exists, using it for the skin.
time="     0.872" type="debug" -> gui: Base file ':/skins/nudus-base/html_enclosure_every.html' exists, using it for the skin.
time="     0.872" type="debug" -> gui: Local file ':/skins/nudus-light/qt_style.qss' exists, using it for the skin.
time="     0.872" type="debug" -> gui: Base file ':/skins/nudus-base/html_adblocked.html' exists, using it for the skin.
time="     0.873" type="debug" -> gui: Setting style: 'Breeze'.
time="     0.879" type="debug" -> gui: Skin 'nudus-light' loaded. Lite: 'false'.
time="     0.880" type="warning" -> core: User CSS style was not provided in file '/home/gui/.config/RSS Guard 4/web/user-styles.css'.
time="     0.883" type="debug" -> network: Persistent web data storage path: '/home/gui/.config/RSS Guard 4/web/storage'.
time="     0.883" type="debug" -> network: Disabling application-wide proxy completely.
time="     0.884" type="debug" -> core: SQLite version: '3.31.1'.
time="     0.922" type="debug" -> core: OpenSSL version: 'OpenSSL 1.1.1f  31 Mar 2020'.
time="     0.923" type="debug" -> core: OpenSSL supported: 'true'.
time="     0.923" type="debug" -> core: Global thread pool has 8 threads.
time="     0.923" type="debug" -> core: Setting locale for LC_NUMERIC to C as libmpv requires it.
time="     0.923" type="debug" -> core: Instantiated class  'Application'.
time="     0.930" type="debug" -> database: SQLite database connection 'MessagesModel' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     0.937" type="debug" -> message-model: Repopulated model, SQL statement is now:
 'SELECT Messages.id, Messages.is_read, Messages.is_important, Messages.is_deleted, Messages.is_pdeleted, Messages.feed, Messages.title, Messages.url, Messages.author, Messages.date_created, Messages.contents, Messages.enclosures, Messages.score, Messages.account_id, Messages.custom_id, Messages.custom_hash, Feeds.title, Feeds.is_rtl, CASE WHEN LENGTH(Messages.enclosures) > 10 THEN 'true' ELSE 'false' END AS has_enclosures, (SELECT GROUP_CONCAT(Labels.name) FROM Labels WHERE Messages.labels LIKE "%." || Labels.custom_id || ".%") as msg_labels, Messages.labels FROM Messages LEFT JOIN Feeds ON Messages.feed = Feeds.custom_id AND Messages.account_id = Feeds.account_id WHERE 0 > 1;'.
time="     0.937" type="debug" -> core: Auto-download timer started with interval 10000 ms.
time="     0.937" type="debug" -> core: Creating FeedDownloader singleton.
time="     0.961" type="debug" -> gui: Creating main application form in thread: '0x7a635838f380'.
time="     0.996" type="debug" -> gui: Current row changed - proxy 'QModelIndex(-1,-1,0x0,QObject(0x0))', source 'QModelIndex(-1,-1,0x0,QObject(0x0))'.
time="     1.030" type="debug" -> network: Settings of BaseNetworkAccessManager loaded.
time="     1.249" type="debug" -> gui: Creating tray icon menu.
time="     1.275" type="debug" -> core: OS asked application to save its state.
time="     1.276" type="debug" -> CTRL is NOT pressed while sorting articles - sorting with standard mode.
time="     1.276" type="debug" -> message-model: Repopulated model, SQL statement is now:
 'SELECT Messages.id, Messages.is_read, Messages.is_important, Messages.is_deleted, Messages.is_pdeleted, Messages.feed, Messages.title, Messages.url, Messages.author, Messages.date_created, Messages.contents, Messages.enclosures, Messages.score, Messages.account_id, Messages.custom_id, Messages.custom_hash, Feeds.title, Feeds.is_rtl, CASE WHEN LENGTH(Messages.enclosures) > 10 THEN 'true' ELSE 'false' END AS has_enclosures, (SELECT GROUP_CONCAT(Labels.name) FROM Labels WHERE Messages.labels LIKE "%." || Labels.custom_id || ".%") as msg_labels, Messages.labels FROM Messages LEFT JOIN Feeds ON Messages.feed = Feeds.custom_id AND Messages.account_id = Feeds.account_id WHERE 0 > 1 ORDER BY Messages.date_created DESC;'.
time="     1.281" type="debug" -> core: Showing the main window when the application is starting.
time="     1.287" type="debug" -> database: SQLite database connection 'FeedReader' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.290" type="debug" -> database: SQLite database connection 'FeedlyEntryPoint' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.292" type="debug" -> database: SQLite database connection 'GmailEntryPoint' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.294" type="debug" -> database: SQLite database connection 'GreaderEntryPoint' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.297" type="debug" -> database: SQLite database connection 'OwnCloudServiceEntryPoint' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.300" type="debug" -> database: SQLite database connection 'StandardServiceEntryPoint' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.300" type="debug" -> database: SQLite database connection 'StandardServiceRoot' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.301" type="debug" -> core: Custom ID of feed when loading from DB is '1'.
time="     1.301" type="debug" -> core: Custom ID of feed when loading from DB is '2'.
time="     1.301" type="debug" -> core: Custom ID of feed when loading from DB is '3'.
time="     1.302" type="debug" -> core: Custom ID of feed when loading from DB is '4'.
time="     1.302" type="debug" -> core: Custom ID of feed when loading from DB is '5'.
time="     1.302" type="debug" -> core: Custom ID of feed when loading from DB is '6'.
time="     1.302" type="debug" -> core: Custom ID of feed when loading from DB is '7'.
time="     1.302" type="debug" -> core: Custom ID of feed when loading from DB is '8'.
time="     1.302" type="debug" -> core: Custom ID of feed when loading from DB is '9'.
time="     1.302" type="debug" -> core: Custom ID of feed when loading from DB is '10'.
time="     1.303" type="debug" -> database: SQLite database connection 'RecycleBin' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.303" type="debug" -> database: SQLite database connection 'ImportantNode' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.303" type="debug" -> database: SQLite database connection 'UnreadNode' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.303" type="debug" -> database: SQLite database connection 'LabelsNode' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.313" type="debug" -> database: SQLite connection 'StandardServiceRoot' is already active.
time="     1.313" type="debug" -> database: SQLite database connection 'StandardServiceRoot' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.316" type="debug" -> database: SQLite database connection 'TtRssServiceEntryPoint' to file '/home/gui/.config/RSS Guard 4/database/database.db' seems to be established.
time="     1.316" type="debug" -> gui: User wants to have tray icon.
time="     1.316" type="warning" -> gui: Showing tray icon with little delay.
time="     1.316" type="debug" -> gui: Feed list item expanded - gui (RSS/ATOM/JSON)
time="     1.316" type="debug" -> gui: Feed list item expanded - RSS Guard
time="     1.316" type="debug" -> gui: Feed list item expanded - Technology
time="     1.316" type="debug" -> gui: Feed list item expanded - Misc
time="     1.316" type="debug" -> core: No execution message received from other app instances.
time="     1.325" type="debug" -> gui: Message splitter moved.
time="     1.657" type="debug" -> gui: Hovered link: 'QUrl()'.
time="     1.885" type="debug" -> network: Settings of BaseNetworkAccessManager loaded.
time="     2.442" type="debug" -> network: Destroying Downloader instance.
time="     2.442" type="debug" -> network: Destroying SilentNetworkAccessManager instance.
time="     3.387" type="debug" -> CTRL is NOT pressed while sorting articles - sorting with standard mode.
time="     3.388" type="debug" -> core: Displaying messages from feeds IDs: ''10'' and URLs: 'https://tecnoblog.net/feed/'.
time="     3.390" type="debug" -> message-model: Repopulated model, SQL statement is now:
 'SELECT Messages.id, Messages.is_read, Messages.is_important, Messages.is_deleted, Messages.is_pdeleted, Messages.feed, Messages.title, Messages.url, Messages.author, Messages.date_created, Messages.contents, Messages.enclosures, Messages.score, Messages.account_id, Messages.custom_id, Messages.custom_hash, Feeds.title, Feeds.is_rtl, CASE WHEN LENGTH(Messages.enclosures) > 10 THEN 'true' ELSE 'false' END AS has_enclosures, (SELECT GROUP_CONCAT(Labels.name) FROM Labels WHERE Messages.labels LIKE "%." || Labels.custom_id || ".%") as msg_labels, Messages.labels FROM Messages LEFT JOIN Feeds ON Messages.feed = Feeds.custom_id AND Messages.account_id = Feeds.account_id WHERE Feeds.custom_id IN ('10') AND Messages.is_deleted = 0 AND Messages.is_pdeleted = 0 AND Messages.account_id = 1 ORDER BY Messages.date_created DESC;'.
time="     4.472" type="warning" -> gui: Tray icon is available, showing now.
time="     4.476" type="debug" -> gui: Creating SystemTrayIcon instance.
time="     4.480" type="debug" -> gui: Showing tray icon immediately.
time="     4.482" type="debug" -> gui: Tray icon displayed.
time="     6.655" type="debug" -> gui: Message list got focus with reason 'Qt::MouseFocusReason'.
time="     6.655" type="debug" -> gui: Current row changed - proxy 'QModelIndex(12,6,0x635f710b6620,MessagesProxyModel(0x635f710e9b00, name = MessagesProxyModel))', source 'QModelIndex(12,6,0x0,MessagesModel(0x635f710e4c60))'.
time="     6.946" type="debug" -> gui: Hovered link: 'QUrl()'.
time="    13.527" type="debug" -> gui: Message list got focus with reason 'Qt::ActiveWindowFocusReason'.
time="    22.366" type="debug" -> gui: Message list got focus with reason 'Qt::ActiveWindowFocusReason'.
time="    24.420" type="debug" -> gui: Message list got focus with reason 'Qt::PopupFocusReason'.
time="    24.456" type="debug" -> core: Cleaning up resources and saving application state.
time="    24.456" type="debug" -> core: Close lock was obtained safely.
time="    24.460" type="debug" -> core: Stopping StandardServiceRoot instance.
time="    24.460" type="debug" -> feed-downloader: Destroying FeedDownloader instance.
time="    24.465" type="debug" -> gui: Destroying FormMain instance.
time="    24.468" type="debug" -> gui: Destroying TabWidget instance.
time="    24.468" type="debug" -> gui: Destroying FeedMessageViewer instance.
time="    24.468" type="debug" -> gui: Destroying BaseToolBar instance.
time="    24.469" type="debug" -> network: Destroying Downloader instance.
time="    24.469" type="debug" -> network: Destroying SilentNetworkAccessManager instance.
time="    24.504" type="debug" -> gui: Destroying MessagesView instance.
time="    24.507" type="debug" -> gui: Destroying BaseToolBar instance.
time="    24.509" type="debug" -> gui: Destroying FeedsView instance.
time="    24.510" type="debug" -> gui: Destroying TabBar instance.
time="    24.511" type="debug" -> gui: Destroying StatusBar instance.
time="    24.511" type="debug" -> gui: Destroying SystemTrayIcon instance.
time="    24.611" type="debug" -> core: Destroying Application instance.
time="    24.612" type="debug" -> core: Destroying Mutex instance.
time="    24.796" type="debug" -> gui: Destroying IconFactory instance.
time="    24.796" type="debug" -> core: Destroying FeedReader instance.
time="    24.796" type="debug" -> feed-model: Destroying FeedsModel instance.
time="    24.796" type="debug" -> feed-model: Destroying FeedsProxyModel instance
time="    24.796" type="debug" -> message-model: Destroying MessagesModel instance.
time="    24.796" type="debug" -> message-model: Destroying MessagesProxyModel instance.

Operating system and version

  • OS: Arch Linux
  • RSS Guard version: master (c152df7) (pre-release AppImage)
@guihkx guihkx added the Type-Defect This is BUG!!! label Feb 7, 2024
@martinrotter martinrotter added the Status-Fixed Ticket is resolved. label Feb 7, 2024
@martinrotter martinrotter added this to the 4.6.4 milestone Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status-Fixed Ticket is resolved. Type-Defect This is BUG!!!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants