say for example markdown code
markdown
```php
<? } ?>
```
Renders in an item as:
<pre><code class="language-php"><? } ?></code></pre>
but when that item is included in a blog list it renders as:
<pre><code class="language-php"><!--? } ?--></code></pre>
and it doesn't matter if i use short or full php tags, (the post was actually about short and full tags)
Are you indenting and using triple back ticks? Tab indention will signify a code block by itself, so the ``` is redundant.
oh no i'm not , im just doing it here because double markdown on github used to be trouble without indentation
So works fine in a single blog post page, but it's not right when it's in the blog posts list (truncated)?
yes exactly :
i've set up an example :
Replicated. Not sure why, but if you add
===
to indicate where to cut the intro, the problem goes away.
You are right sir, I will use that until the bug is fixed :D
Marked as bug as it's an issue in encoding the code block when truncating
Closing to due to inactivity
so you close a valid and confirmed bug, just because there is no activity ? what kind of process is this ? ignore it and it will go away, code doesn't work like that