Tag & Author HTML links to render correctly #375
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tags & author HTML links do not render correctly. To display properly - modify the PHP code to output the tags without escaping the HTML
Description
Tags not displaying properly on desktop related to how the tags are being rendered. Snippet shows that the tags are being output using the following line:
escapeHtml(__('Tags: %1', $tagList)); ?>php
This line is escaping the HTML content of the tags, which is causing the tags to be displayed as plain text instead of clickable links on the desktop view.
To fix this issue, we modified the PHP code to output the tags without escaping the HTML:
php
getTagList($_post)) : ?>This allows the HTML structure of the tags to be preserved, resulting in clickable tag links similar to what is shown in the search results for the mobile view.