diff --git a/ruleset-style.md b/ruleset-style.md
index 7f0dae327737..f23f141b46bf 100644
--- a/ruleset-style.md
+++ b/ruleset-style.md
@@ -92,11 +92,11 @@ Here is an example ruleset pre-style guidelines:
```xml
-
-
+
+
-
+
```
@@ -119,7 +119,6 @@ test URLs:
-
+
```
diff --git a/ruleset-testing.md b/ruleset-testing.md
index 35c9d8bffeba..8a8c0635dbcc 100644
--- a/ruleset-testing.md
+++ b/ruleset-testing.md
@@ -30,18 +30,18 @@ target host with a left-side wildcard, and at least ten test URLs for each
target host with a right-side wildcard. But this is not yet implemented.
# Example:
-
-
-
-
-
-
-
-
-
-
-
+```xml
+
+
+
+
+
+
+
+
+
+```
This ruleset has one implicit test URL from a target host
("http://example.com/"). The other target host has a wildcard, so creates no
implicit test URL. There's a single rule. That rule contains a '+' and a '?', so