diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2017-08-16 21:40:24 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2017-08-16 21:40:24 +0000 |
| commit | 203cf4100c5113121f52b2fae45f33e32f0a8deb (patch) | |
| tree | a1e754deac4b514343809872e183d9ba1daaa41a /docs | |
| parent | f91911d461d738ccf4cbc6ab719f8671e1f59281 (diff) | |
| download | docutils-203cf4100c5113121f52b2fae45f33e32f0a8deb.tar.gz | |
* docutils/parsers/rst/states.py: Allow embedded colons in field list field names (also updated docs/ref/rst/restructuredtext.txt).
* docutils/parsers/rst/directives/html.py: [Fix for bug 281:] Allow backslash-escaped colons in meta directive field list field names (also updated docs/dev/todo.txt).
* Added tests for the above.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8169 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/rst/restructuredtext.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/rst/restructuredtext.txt b/docs/ref/rst/restructuredtext.txt index e3cc0af1d..d96367a81 100644 --- a/docs/ref/rst/restructuredtext.txt +++ b/docs/ref/rst/restructuredtext.txt @@ -830,7 +830,8 @@ directives in `reStructuredText Directives`_. Field lists are mappings from *field names* to *field bodies*, modeled on RFC822_ headers. A field name may consist of any characters, but -colons (":") inside of field names must be escaped with a backslash. +colons (":") inside of field names must be backslash-escaped +when followed by whitespace. Inline markup is parsed in field names. Field names are case-insensitive when further processed or transformed. The field name, along with a single colon prefix and suffix, together form the |
