summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-10-20 12:03:32 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-10-20 12:03:32 +0800
commite6c416e446dac2d7b560bda7c7470aa88cd35150 (patch)
tree4025a9a0096c715b5b42782cabd2deb02a1ec83d
parenta6a5ae584c9705c6f7cf58d176cb78901a65b32e (diff)
ta/vg151_funny_shit: emoticon rendering
-rw-r--r--docs/ta/img/vg151_funny_shit/mm_emoticon.pngbin0 -> 40433 bytes
-rw-r--r--docs/ta/vg151_funny_shit.md31
2 files changed, 31 insertions, 0 deletions
diff --git a/docs/ta/img/vg151_funny_shit/mm_emoticon.png b/docs/ta/img/vg151_funny_shit/mm_emoticon.png
new file mode 100644
index 0000000..f1b759b
--- /dev/null
+++ b/docs/ta/img/vg151_funny_shit/mm_emoticon.png
Binary files differ
diff --git a/docs/ta/vg151_funny_shit.md b/docs/ta/vg151_funny_shit.md
index e993b3f..e30df01 100644
--- a/docs/ta/vg151_funny_shit.md
+++ b/docs/ta/vg151_funny_shit.md
@@ -175,3 +175,34 @@ handcrafted HTTP POST requests, not the website.
The maintainer of JOJ claims, allegedly, that they had zero fucking idea
about it.
+
+## 2022-10-11, Mattermost
+
+We have an integration that posts all PRs from Gitea to MM. However, there
+are two problems with text rendering:
+
+- HTML is not unescaped inside `<code>`
+- Emoticons are converted to emoji, even when it shouldn't be one
+
+Enjoy whatever this is:
+
+![](img/vg151_funny_shit/mm_emoticon.png)
+
+<details markdown="1">
+<summary>Transcript</summary>
+FOCS Gitea (BOT) 20:16
+
+\[ENGR151-22/hgroup-REDACTED\] Pull request opened: #14 h3-REDACTED by REDACTED
+
+ #14 h3-REDACTED
+
+# Homework ❤\>
+
+This part is only for indivudal submission. Delete it for the group submission.
+Replace all elements between `&lt; &gt;` by appropriate values. To tick a box
+change `- [ ]` into `- [x]`.
+
+## Overview
+
+Exercises completed: <1,2,3,4,5,6>
+</details>