Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#24056 closed Cleanup/optimization (fixed)

Syntax highlighting does not work

Reported by: Amine Zyad Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The syntax highlighting does not work in this place: https://docs.djangoproject.com/en/dev/topics/testing/tools/#django.test.SimpleTestCase.client_class

Tried to look at the code and can't find anything suspicious...

Change History (5)

comment:1 by Amine Zyad, 10 years ago

Tried it on Safari, Firefox 34 , and Chrome 39 on Mac OS X.

comment:2 by Claude Paroz, 10 years ago

Triage Stage: UnreviewedAccepted

Seems like the parser doesn't like a class definition formed by a single code comment (a docstring should be ok).

comment:3 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 3d0c3a0482496fc1914a40ec3c3eb70e67f0d643:

Fixed #24056 -- Fixed syntax highlighting in topics/testing/tools.txt.

comment:4 by Tim Graham <timograham@…>, 10 years ago

In 116d2098f61cff44596175b5d8b9d8d0d4005a0e:

[1.6.x] Fixed #24056 -- Fixed syntax highlighting in topics/testing/tools.txt.

Backport of 3d0c3a0482496fc1914a40ec3c3eb70e67f0d643 from master

comment:5 by Tim Graham <timograham@…>, 10 years ago

In 1cbdb49b0aaba726435db55c4d71dc6a8ade1d2b:

[1.7.x] Fixed #24056 -- Fixed syntax highlighting in topics/testing/tools.txt.

Backport of 3d0c3a0482496fc1914a40ec3c3eb70e67f0d643 from master

Note: See TracTickets for help on using tickets.
Back to Top