diff options
author | Brad King <brad.king@kitware.com> | 2013-10-21 18:53:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-21 18:56:26 (GMT) |
commit | 7b9ae406f3f2fbe4de9d075a50ec0daae4fa1274 (patch) | |
tree | b525f98d473db4ff36f499fd0652ba136824c210 /Tests/CMakeLib/testRST.expect | |
parent | bf02e750796c6b42b0e9d39ba322cd5191489a0e (diff) | |
download | CMake-7b9ae406f3f2fbe4de9d075a50ec0daae4fa1274.zip CMake-7b9ae406f3f2fbe4de9d075a50ec0daae4fa1274.tar.gz CMake-7b9ae406f3f2fbe4de9d075a50ec0daae4fa1274.tar.bz2 |
cmRST: Do not process inline markup in code-block literals
Move the ProcessDirectiveParsedLiteral and ProcessDirectiveCodeBlock
method internals into an OutputMarkupLines helper. Pass through it a
new "inlineMarkup" parameter and teach OutputLine to understand it.
When false, do not process inline markup. Extend the CMakeLib.testRST
test to cover the two cases.
Diffstat (limited to 'Tests/CMakeLib/testRST.expect')
-rw-r--r-- | Tests/CMakeLib/testRST.expect | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testRST.expect b/Tests/CMakeLib/testRST.expect index 6a89002..28981bf 100644 --- a/Tests/CMakeLib/testRST.expect +++ b/Tests/CMakeLib/testRST.expect @@ -45,11 +45,13 @@ More CMake Module Content Parsed-literal included without directive. Common Indentation Removed + # replaced in parsed literal # Sample CMake code block if(condition) message(indented) endif() + # |not replaced in literal| substituted text with multiple lines becomes one line |