mod_ogp/README: Annotate example as XML to enable syntax highlighting
authorKim Alvefur <zash@zash.se>
Tue, 02 Mar 2021 14:17:51 +0100
changeset 4488 6813a00878ea
parent 4487 c4f11a4b5ac7
child 4489 2c4b65bfac62
mod_ogp/README: Annotate example as XML to enable syntax highlighting
mod_ogp/README.markdown
--- a/mod_ogp/README.markdown	Tue Mar 02 13:36:10 2021 +0100
+++ b/mod_ogp/README.markdown	Tue Mar 02 14:17:51 2021 +0100
@@ -5,7 +5,7 @@
 With mod_ogp enabled, when a user sends a URL in a MUC (where the message has its `id` equal to its `origin-id`), the module calls the URL and parses the result for `<meta>` html tags that have any `og:...` properties.
 If it finds any, it sends a [XEP-0422 fastening](https://xmpp.org/extensions/xep-0422.html) applied to the original message that looks like:
 
-```
+```xml
 <message id="example" from="chatroom@muc.example.org" to="chatroom@muc.example.org">
 <apply-to xmlns="urn:xmpp:fasten:0" id="origin-id-X">
 <meta xmlns="http://www.w3.org/1999/xhtml" property="og:title" content="The Rock"/>