Skip to content

Commit

Permalink
try escaping quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
juliodialpad committed Jun 3, 2024
1 parent 5c8b0da commit 6590555
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/send-blog-communications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
# - Remove blog post component.
# - Remove comments.
# - Remove empty lines at the beginning of the file.
# - Escape quotes
# - Escape double quotes
# - Replace links paths for their absolute paths (prefixed by https://dialtone.dialpad.com).
# - Ellipsis the article to the first 10 lines.
# - Append the URL of the article at the end of the article.
Expand All @@ -83,6 +85,8 @@ jobs:
-e '/^<\/*BlogPost.*$/d' \
-e '/^<!--.*$/d' \
-e '/./,$!d' \
-e "/'/\'/g"
-e '/"\"/g'
-e 's_(\[.*\])\(([^)]+)\)_\1(https://dialtone.dialpad.com\2)_g' \
$FILE_PATH;
sed -i 10q $FILE_PATH;
Expand Down

0 comments on commit 6590555

Please sign in to comment.