I can't figure out a way around making the following work after adding '!' in the mids of it
<category>
<pattern>test</pattern>
<template>testing stuff.</template>
</category>
<category>
<pattern>gg</pattern>
<that> testing stuff </that>
<template>works</template>
</category>
the above code works just fine, but when you change it to:
<category>
<pattern>test</pattern>
<template>testing! stuff.</template>
</category>
<category>
<pattern>gg</pattern>
<that> testing stuff </that>
<template>works</template>
</category>
It just stops working.
How do I get the second piece of code to work then? What the bot says HAS to include this '!' in the middle of it
EDIT:
I found out a way around it by doing the following:
<category>
<pattern>test</pattern>
<template>testing! stuff.</template>
</category>
<category>
<pattern>gg</pattern>
<that> stuff </that>
<template>works</template>
</category>
It works since in the properties file it's configured to see '!' as a line splitter, but seems a little unintended... Is there any proper way to deal with this issue?