Skip to content

Commit

Permalink
ignore url from escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamkrishnar committed Nov 8, 2021
1 parent af9abb0 commit bc1e65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog-post-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ feedList.forEach((siteUrl) => {
const disableHtmlEncoding = core.getInput('disable_html_encoding') !== 'false';
if (!disableHtmlEncoding) {
Object.keys(post).forEach((key)=> {
if (typeof post[key] === 'string') {
if (typeof post[key] === 'string' && key !== 'url') {
post[key] = escapeHTML(post[key]);
}
});
Expand Down

0 comments on commit bc1e65d

Please sign in to comment.