#dev | Logs for 2018-07-24

« return
[08:59:57] -!- u has quit [Quit: Quit]
[09:02:37] -!- hl [hl!~hl@361.ip-165-778-43.eu] has joined #dev
[22:57:23] <FatPhil> Anyone got any opinions on this patch:
[22:57:26] <FatPhil> https://pastebin.com
[22:57:43] <FatPhil> I've not even tried to run it, I don't have a running rehash
[22:58:02] <FatPhil> I can try to explain what it does, so that if if doesn't compile, someone can fix it.
[23:00:05] <FatPhil> basically it should let you type ``<spoiler type="previous stories">... links ... </spoiler>
[23:00:37] <FatPhil> and instead of a hideably *SPOILER* block, you'd get a hideable *previous stories* block.
[23:02:54] <chromas> So you can change the title?
[23:03:06] <chromas> Noice
[23:03:06] <chromas> FatPhil++
[23:03:06] <Bender> karma - fatphil: 2
[23:03:06] <FatPhil> that's the plan
[23:03:56] <chromas> If MS Edge supported the details tag it could use that instead of css trix :D
[23:04:24] <FatPhil> been thinking of trying to do it for a while, but I just noticed such a block in the Forbes Linux story, and that reminded me of it.
[23:16:10] <FatPhil> shit, pastebin has mangled the patch
[23:16:32] <FatPhil> + my $open = qr[\n* <\s* $spoiler(?:\s*type=(["'])([^"']+)\1 \s*> \n*]xsio;
[23:16:46] <FatPhil> pastebiin was missing at least the \1
[23:17:30] <chromas> pastebin == ghey
[23:17:50] <FatPhil> regular explosions