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
F13233118: D11091.diff
Tue, May 21, 1:42 AM
F13218621: D11091.id26709.diff
Sat, May 18, 12:52 PM
F13213617: D11091.diff
Fri, May 17, 7:56 AM
Unknown Object (File)
Tue, May 7, 7:37 AM
Unknown Object (File)
Fri, May 3, 7:02 AM
Unknown Object (File)
Apr 25 2024, 6:38 PM
Unknown Object (File)
Apr 25 2024, 1:24 AM
Unknown Object (File)
Apr 9 2024, 10:22 PM
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
Branch
defaulttext
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3396
Build 3403: [Placeholder Plan] Wait for 30 Seconds

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.