Unable to load image

Can one of the admins add me on the rdrama git?

!admin

!codecels

11
Jump in the discussion.

No email address required.

!admins

Jump in the discussion.

No email address required.

What do you want

Jump in the discussion.

No email address required.

add me to the rdrama git my account's username is vasya but I need to get it approved. I have a fix for one of the issues.

Jump in the discussion.

No email address required.

That sounds like a big ole no from me dog.

I wont even add my own mother to my netflix account and you want github access? Girl pls

Jump in the discussion.

No email address required.

Here this 3-line patch fixes the issue with double newlines:

diff --git a/files/assets/js/markdown.js b/files/assets/js/markdown.js
index 5c633a6bc..c98eab4e0 100644
--- a/files/assets/js/markdown.js
+++ b/files/assets/js/markdown.js
@@ -1,4 +1,5 @@
marked.use({
+       breaks: true,
       extensions: [
               {
                       name: 'mention',
@@ -93,8 +94,6 @@ function markdown(t) {
               }
       }

-       if (!input.includes('```') && !input.includes('<pre>'))
-               input = input.replace(/\n/g, '\n\n')
       input = input.replace(/\|\|(.*?)\|\|/g, '<spoiler>$1</spoiler>')
       input = input.replace(/(\n|^)>([^ >][^\n]*)/g, '$1<g>\>$2</g>')
       input = input.replace(/((\s|^)[0-9]+)\. /g, '$1\\. ')

You can apply it by saving it to a file and doing git apply. I test it locally and it worked.

Jump in the discussion.

No email address required.

ok I'll just send you a patch and you can apply it yourself then. Also, are there no access controls for the git? Anyone can push to master? That seems r-slurred.

Jump in the discussion.

No email address required.

It's !jannies. Also it's fsdfsd.net last I checked.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.