diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-05-06 15:27:30 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-05-06 15:27:30 -0400 |
commit | 6d454de6e5954f0e09adafca3141b5394bbc5140 (patch) | |
tree | ae765a83259f804f7dc7a8eeede51faec284ef07 /tests | |
parent | 85341a176564ac3ce4e0a4ec4612262e2945660a (diff) |
New optional suffice for 'rewrite' in .urp files: [-]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hyphenate.ur | 7 | ||||
-rw-r--r-- | tests/hyphenate.urp | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/hyphenate.ur b/tests/hyphenate.ur new file mode 100644 index 00000000..48c94f6b --- /dev/null +++ b/tests/hyphenate.ur @@ -0,0 +1,7 @@ +style extra_special +style somewhat_special + +fun main () : transaction page = return <xml><body> + <span class={extra_special}>Test</span> + <span class={somewhat_special}>Test</span> +</body></xml> diff --git a/tests/hyphenate.urp b/tests/hyphenate.urp new file mode 100644 index 00000000..197fd9d0 --- /dev/null +++ b/tests/hyphenate.urp @@ -0,0 +1,5 @@ +rewrite url Hyphenate/* +rewrite style Hyphenate/somewhat_special spectactularly_great [-] +rewrite style Hyphenate/* [-] + +hyphenate
\ No newline at end of file |