Code style is broken
Options
Adam Jagosz
Posts: 689
It appears that styling text as code results now in only displaying the first line and truncating the rest. I think existing snippets might be affected as well.

I can only suspect there was more code in the original post.
Tagged:
0
Comments
-
Sample text of four linesbody {display: grid;}
<div>Sample text of four lines</div><div>body {</div><div> display: grid;</div>}
0 -
The above test post appears to have been treated differently, with just the first line styled as code. The source looked like this:
Anyway, I remember appearing some code in one of my recent posts truncated, which I amended by removing the wrapping code tag and leaving just the pre tag.
0 -
Test 2 line 1/2Test 2 line 2/2
<div><br></div><div> Test 2 line 1/2<br> Test 2 line 2/2</div>
Test 2 line 1/2Test 2 line 2/2
0 -
The above was
0 -
*And is:
Anyone? Hullo...
0 -
Hey, sorry, you posted this originally while I was traveling for the holidays and it slipped off my radar.
I poked around in the settings but couldn't seem to fix it. Maybe one of the other admin/mods @Tiffany Wardle @James Hultquist-Todd @Jess McCarty @Ramiro Espinoza knows something more than me?0
Categories
- All Categories
- 46 Introductions
- 3.8K Typeface Design
- 476 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 831 Font Technology
- 29 Punchcutting
- 508 Typography
- 120 Type Education
- 313 Type History
- 75 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 533 Announcements
- 86 Events
- 110 Job Postings
- 167 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 53 TypeDrawers Announcements
- 119 Suggestions and Bug Reports