diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2011-11-22 14:48:14 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2011-11-22 14:48:14 +0000 |
| commit | 8aad679827440b5a52ab6cbe27aa8ea186e37eec (patch) | |
| tree | 47b46084ceca5565ff9c58c9d97f6ad51eafa55a /docs/dev/todo.txt | |
| parent | f2bde1d2d331332ec353769ae60846e280a4ef4e (diff) | |
| download | docutils-8aad679827440b5a52ab6cbe27aa8ea186e37eec.tar.gz | |
Fix parsing of lists from config files.
The "strip-classes" and "strip-elements-with-classes" settings expect
a list but did not convert values given in a config file - making it
impossible to use them in a config file.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7224 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/dev/todo.txt')
| -rw-r--r-- | docs/dev/todo.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/dev/todo.txt b/docs/dev/todo.txt index 304ac0692..6611ea854 100644 --- a/docs/dev/todo.txt +++ b/docs/dev/todo.txt @@ -1674,9 +1674,12 @@ when used in a document. .. note:: See also the implementation in Sphinx_. Docutils already has the ability to say "use this content for - Writer X" (via the "raw" directive), but it doesn't have the - ability to say "use this content for any Writer other than X". It - wouldn't be difficult to add this ability though. + Writer X" via the "raw" directive. It also does have the ability + to say "use this content for any Writer other than X" via the + "strip-elements with class" config value. However, using "raw" + input just to select a special writer is inconvenient in many + cases. + It wouldn't be difficult to get more straightforward support, though. My first idea would be to add a set of conditional directives. Let's call them "writer-is" and "writer-is-not" for discussion |
