.ig
Test handling of macro argument quoting
..
.de xx
<\\$1>
.br
..
should be <ab>:
.xx ab
should be <ab>:
.xx "ab"
should be <a"b>:
.xx a"b
should be <a""b>:
.xx a""b
should be <a"b>:
.xx "a""b"
should be <>:
.xx ""
should be <"">:
.xx """"""
Now turn compatibility mode on:
.br
.cp 1
should be <ab>:
.xx ab
should be <ab>:
.xx "ab"
should be <a"b>:
.xx a"b
should be <a""b>:
.xx a""b
should be <a"b>:
.xx "a""b"
should be <>:
.xx ""
should be <"">:
.xx """"""
