Code style is broken
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
- 43 Introductions
- 3.8K Typeface Design
- 815 Font Technology
- 1.1K Technique and Theory
- 633 Type Business
- 450 Type Design Critiques
- 549 Type Design Software
- 30 Punchcutting
- 138 Lettering and Calligraphy
- 85 Technique and Theory
- 53 Lettering Critiques
- 499 Typography
- 308 History of Typography
- 117 Education
- 74 Resources
- 513 Announcements
- 82 Events
- 107 Job Postings
- 156 Type Releases
- 167 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports