Fixed issue with parentheses

This commit is contained in:
j4nk 2023-07-09 18:14:06 -04:00
parent 5fe96c837f
commit db9d7169a7
3 changed files with 9 additions and 3 deletions

View File

@ -45,7 +45,7 @@
"<mark>\\1</mark>"
;; Then links
(replace-regexp-in-string
"\\[\\([^\\[]*\\)](\\([^\\[]*\\))"
"\\[\\([^\\[]*\\)](\\([^\\(]*\\)?)"
(concat (md4tj-begin-tag "a" (list '("href" "\\2"))) "\\1" (md4tj-end-tag "a"))
;; Then images
(replace-regexp-in-string

View File

@ -75,6 +75,10 @@ int main() {
<p>This is a div that has monospace text.</p>
</div>
<p id="lastupdated">Last updated: Wed Jun 7 10:10:53 2023</p>
<p id="lastupdated">Last updated: Sun Jul 9 18:12:44 2023</p>
<br>
<p><a href="https://www.youtube.com/@ther-boxpodcast8099/">The R-Box Podcast</a> - A bunch of my childhood friends decided to band up and create a podcast while they were living together. This is the result, basically a distillation of our inside jokes and humor in three glorous episodes. I don't talk to these guys much anymore, but as far as I can tell it's never coming back. Probably only funny to people who know them personally (like me), but who knows? I recorded an episode with them as a guest a while back when I was back in town, but I guess I was such a terrible guest they didn't bother uploading it.</p>
</body>
</html>

View File

@ -30,4 +30,6 @@ $$e^{i \pi} + 1 = 0$$
@@DIV monospace-text
This is a div that has monospace text.
@@ENDDIV
@@LASTUPDATED
@@LASTUPDATED
[The R-Box Podcast](https://www.youtube.com/@ther-boxpodcast8099/) - A bunch of my childhood friends decided to band up and create a podcast while they were living together. This is the result, basically a distillation of our inside jokes and humor in three glorous episodes. I don't talk to these guys much anymore, but as far as I can tell it's never coming back. Probably only funny to people who know them personally (like me), but who knows? I recorded an episode with them as a guest a while back when I was back in town, but I guess I was such a terrible guest they didn't bother uploading it.