Created
December 15, 2016 09:39
-
-
Save vaaas/39177745b767232331cf608fecb4ad5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- script.gs 2016-12-15 11:35:47.288013274 +0200 | |
+++ new.gs 2016-12-15 11:36:52.824766596 +0200 | |
@@ -216,6 +216,7 @@ | |
text.replaceText('<h4>', '<h4 dir="rtl">'); | |
text.replaceText('<h5>', '<h5 dir="rtl">'); | |
text.replaceText('<h6>', '<h6 dir="rtl">'); | |
+ text.replaceText('<dl>', '<dl dir="rtl">'); | |
} | |
else if (action == 'removeRtl') { | |
text.replaceText('<p dir="rtl">', '<p>'); | |
@@ -227,6 +228,7 @@ | |
text.replaceText('<h4 dir="rtl">', '<h4>'); | |
text.replaceText('<h5 dir="rtl">', '<h5>'); | |
text.replaceText('<h6 dir="rtl">', '<h6>'); | |
+ text.replaceText('<dl dir="rtl">', '<dl>'); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment