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

Behavior of the <code> tag



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?


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