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
F17713516: D11091.diff
Thu, Jul 17, 2:09 PM
Unknown Object (File)
Thu, Jun 19, 1:25 PM
Unknown Object (File)
Tue, Jun 17, 4:54 PM
Unknown Object (File)
May 21 2025, 3:27 AM
Unknown Object (File)
May 20 2025, 4:46 AM
Unknown Object (File)
May 18 2025, 4:53 PM
Unknown Object (File)
May 18 2025, 5:04 AM
Unknown Object (File)
May 9 2025, 12:02 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.