Changeset

2002:ce991c678370

mod_firewall/README: Markup XML example as XML :)
author Kim Alvefur <zash@zash.se>
date Sun, 10 Jan 2016 04:58:14 +0100
parents 2001:3246d53ce0c3
children 2003:8ccf347c7753
files mod_firewall/README.markdown
diffstat 1 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/mod_firewall/README.markdown	Sat Jan 09 15:20:19 2016 +0100
+++ b/mod_firewall/README.markdown	Sun Jan 10 04:58:14 2016 +0100
@@ -126,13 +126,15 @@
 'admin'. This stanza comes from [XEP-0077: In-band
 Registration](http://xmpp.org/extensions/xep-0077.html#example-4):
 
-    <iq type='set' id='reg2'>
-      <query xmlns='jabber:iq:register'>
-        <username>bill</username>
-        <password>Calliope</password>
-        <email>bard@shakespeare.lit</email>
-      </query>
-    </iq>
+``` xml
+<iq type='set' id='reg2'>
+  <query xmlns='jabber:iq:register'>
+    <username>bill</username>
+    <password>Calliope</password>
+    <email>bard@shakespeare.lit</email>
+  </query>
+</iq>
+```
 
     KIND: iq
     TYPE: set