ctrlcctrlv / infinity

A vichan fork permitting users to create their own boards
Other
318 stars 149 forks source link

The first newline is deleted in code tags #490

Closed ScoreUnder closed 9 years ago

ScoreUnder commented 9 years ago
[code]#!/bin/sh
echo this is some code[/code]

Result

jaw-sh commented 9 years ago

Looking into it.

ScoreUnder commented 9 years ago

This is "fixed" on 8ch but it looks like a reversion of the change that broke it. I'll leave this open because I don't know if it will be reimplemented.

jaw-sh commented 9 years ago

It is not undoing a feature. All I changed was how large block elements handle line breaking.

On 2015-05-07 8:13 pm, Score_Under wrote:

This is "fixed" on 8ch but it looks like a reversion of the change that broke it. I'll leave this open because I don't know if it will be reimplemented.

Reply to this email directly or view it on GitHub [1].

*

Links:

[1] https://github.com/ctrlcctrlv/infinity/issues/490#issuecomment-99803748

ScoreUnder commented 9 years ago

I don't mean this commit, but the current code running on 8ch seems to have had the change reverted. See this screenshot:

Screenshot

jaw-sh commented 9 years ago

That's a separate issue. If you put a line break after the first [code] tag it interprets that literally.

ctrlcctrlv commented 9 years ago

Closing, feature not a bug.