Putting [code] in Summary field messes up output
Just found this out while playing with the summary feature.
Steps to reproduce:
- On the post form, put
[code]
and on the post body put[code]echo test[/code]
- Click the preview button
Expected behavior:
Display summary as "[code]" and offer a View article link to see the whole post.
Current behavior:
Outputs this below without View article link:
Text:
[summary][/summary][code]echo test
On HTML:
[summary]<code class="inline-code">[/summary][code]echo test</code>
Note: It works as expected if there are no [code] tags on post body.
Screenshot: