Skip to Content
0
May 27, 2016 at 12:06 PM

Behavior of the <code> tag

21 Views

Hello!

I was testing how sharing of code snippets would look like under the new blogging platform, so here what I wrote :

In the text editor, I used the <code> tag around my code:

But then I switched to the visual editor and it looked like this. Only the first paragraph was shown in the code font:

Switching back to the text editor, the <code> tag changed to contain only the first paragraph:

Is this the expected behavior for the <code> tag?

Attachments

before.png (43.9 kB)
during.png (36.4 kB)
After.png (43.2 kB)