From e6c416e446dac2d7b560bda7c7470aa88cd35150 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Thu, 20 Oct 2022 12:03:32 +0800 Subject: ta/vg151_funny_shit: emoticon rendering --- docs/ta/img/vg151_funny_shit/mm_emoticon.png | Bin 0 -> 40433 bytes docs/ta/vg151_funny_shit.md | 31 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 docs/ta/img/vg151_funny_shit/mm_emoticon.png 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 Binary files /dev/null and b/docs/ta/img/vg151_funny_shit/mm_emoticon.png 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 `` +- Emoticons are converted to emoji, even when it shouldn't be one + +Enjoy whatever this is: + +![](img/vg151_funny_shit/mm_emoticon.png) + +
+Transcript +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 `< >` by appropriate values. To tick a box +change `- [ ]` into `- [x]`. + +## Overview + +Exercises completed: <1,2,3,4,5,6> +
-- cgit v1.2.3