~ubuntu-branches/ubuntu/trusty/libtext-markdown-perl/trusty

« back to all changes in this revision

Viewing changes to t/PHP_Markdown-from-MDTest1.1.mdtest/PHP-Specific_Bugs.text

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2008-04-26 00:35:34 UTC
  • Revision ID: james.westby@ubuntu.com-20080426003534-oo979u4lubd1ltc1
Tags: upstream-1.0.19
ImportĀ upstreamĀ versionĀ 1.0.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This tests for a bug where quotes escaped by PHP when using 
 
2
`preg_replace` with the `/e` modifier must be correctly unescaped
 
3
(hence the `_UnslashQuotes` function found only in PHP Markdown).
 
4
 
 
5
 
 
6
 
 
7
Headers below should appear exactly as they are typed (no backslash
 
8
added or removed).
 
9
 
 
10
Header "quoted\" again \\""
 
11
===========================
 
12
 
 
13
Header "quoted\" again \\""
 
14
---------------------------
 
15
 
 
16
### Header "quoted\" again \\"" ###
 
17
 
 
18
 
 
19
 
 
20
Test with tabs for `_Detab`:
 
21
 
 
22
        Code    'block' with    some    "tabs"  and     "quotes"