-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[ Latest Posts ] Fix link for read more markup #20917
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
Conversation
|
Size Change: +4 B (0%) Total Size: 857 kB
ℹ️ View Unchanged
|
9498031 to
0ed8a7d
Compare
adamziel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works perfectly!
| 'target="_blank" rel="noopener noreferrer">' + | ||
| '" target="_blank" rel="noopener noreferrer">' + | ||
| __( 'Read more' ) + | ||
| '</a>' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why we're concatening HTML and using RawHTML. security-wise, it seems better to just use JSX.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think there is a reason :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@draganescu, can you prioritise a fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Howdy @youknowriad and @mcsf a fix is ready in #21170
|
Merging this PR as it was approved and seems to fix the problem. |
Description
Fixes #20783
How has this been tested?
Screenshots