From e462f80d74e7d0297ae96dc8bd57cb66dcccfa71 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Tue, 21 Feb 2017 22:57:48 +0100
Subject: MediaWiki writer: add display attribute on `<math>` tags.

This allows display math to be rendered properly.

Closes #3452.
---
 test/writer.mediawiki | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'test/writer.mediawiki')

diff --git a/test/writer.mediawiki b/test/writer.mediawiki
index 066606c00..71b8e7f3e 100644
--- a/test/writer.mediawiki
+++ b/test/writer.mediawiki
@@ -469,13 +469,13 @@ Ellipses…and…and….
 = LaTeX =
 
 * 
-* <math>2+2=4</math>
-* <math>x \in y</math>
-* <math>\alpha \wedge \omega</math>
-* <math>223</math>
-* <math>p</math>-Tree
-* Here’s some display math: <math>\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</math>
-* Here’s one that has a line break in it: <math>\alpha + \omega \times x^2</math>.
+* <math display="inline">2+2=4</math>
+* <math display="inline">x \in y</math>
+* <math display="inline">\alpha \wedge \omega</math>
+* <math display="inline">223</math>
+* <math display="inline">p</math>-Tree
+* Here’s some display math: <math display="block">\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</math>
+* Here’s one that has a line break in it: <math display="inline">\alpha + \omega \times x^2</math>.
 
 These shouldn’t be math:
 
-- 
cgit v1.2.3

