Page MenuHomePhabricator

Default remarkup code blocks to plain text, not PHP
ClosedPublic

Authored by epriestley on Dec 30 2014, 6:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 7:37 AM
Unknown Object (File)
Fri, May 3, 7:02 AM
Unknown Object (File)
Thu, Apr 25, 6:38 PM
Unknown Object (File)
Thu, Apr 25, 1:24 AM
Unknown Object (File)
Apr 9 2024, 10:22 PM
Unknown Object (File)
Apr 9 2024, 5:29 AM
Unknown Object (File)
Apr 9 2024, 5:29 AM
Unknown Object (File)
Apr 9 2024, 5:25 AM
Subscribers

Details

Summary

Ref T6823. If we have no language information for a block, render it without syntax highlighting instead of with PHP syntax highlighting.

Thinking is to try this, see who notices/complains, and then pursue more tailored defaults if they seem worthwhile.

Test Plan

Wrote a code block with text in it, saw no default highlighting.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Default remarkup code blocks to plain text, not PHP.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Dec 30 2014, 7:16 PM
This revision was automatically updated to reflect the committed changes.