diff --git a/testing/013/class_t1.xml b/testing/013/class_t1.xml
index 9254527ea72..9d921a08415 100644
--- a/testing/013/class_t1.xml
+++ b/testing/013/class_t1.xml
@@ -8,7 +8,7 @@
A class
-
+
diff --git a/testing/013/class_t2.xml b/testing/013/class_t2.xml
index 1551211874a..ee8c2f1141d 100644
--- a/testing/013/class_t2.xml
+++ b/testing/013/class_t2.xml
@@ -8,7 +8,7 @@
class [T2]
-
+
diff --git a/testing/013/class_t3.xml b/testing/013/class_t3.xml
index fd05bbe4bfb..0b644997a0a 100644
--- a/testing/013/class_t3.xml
+++ b/testing/013/class_t3.xml
@@ -8,7 +8,7 @@
class [T3]
-
+
diff --git a/testing/013/class_t4.xml b/testing/013/class_t4.xml
index 76ad7cfe855..bb0aec009f9 100644
--- a/testing/013/class_t4.xml
+++ b/testing/013/class_t4.xml
@@ -8,7 +8,7 @@
class [T4]
-
+
diff --git a/testing/013_class.h b/testing/013_class.h
index 8a289eab802..b869dbed51f 100644
--- a/testing/013_class.h
+++ b/testing/013_class.h
@@ -1,5 +1,4 @@
// objective: test the \class and \headerfile commands
-// config: HTML_CODE_FOLDING=NO
// check: class_t1.xml
// check: class_t2.xml
// check: class_t3.xml
diff --git a/testing/044/struct_s.xml b/testing/044/struct_s.xml
index 20463b397d9..73f0138e074 100644
--- a/testing/044/struct_s.xml
+++ b/testing/044/struct_s.xml
@@ -17,7 +17,7 @@
-
+
int
@@ -32,7 +32,7 @@
-
+
@@ -49,7 +49,7 @@
-
+
int
@@ -64,7 +64,7 @@
-
+
@@ -81,7 +81,7 @@
-
+
int
@@ -96,7 +96,7 @@
-
+
@@ -104,7 +104,7 @@
A struct
-
+
S
diff --git a/testing/044_section.h b/testing/044_section.h
index a2d3407b7fd..ef48051101f 100644
--- a/testing/044_section.h
+++ b/testing/044_section.h
@@ -1,5 +1,4 @@
// objective: test the \(public|protected|private)section commands
-// config: HTML_CODE_FOLDING = NO
// check: struct_s.xml
/** A struct */
diff --git a/testing/082/namespace_n.xml b/testing/082/namespace_n.xml
index 570480dfbe0..56b2c2b52b8 100644
--- a/testing/082/namespace_n.xml
+++ b/testing/082/namespace_n.xml
@@ -17,7 +17,7 @@
-
+
@@ -39,7 +39,7 @@
-
+
diff --git a/testing/082_decl_def.cpp b/testing/082_decl_def.cpp
index fa364024b56..6dbc3c5228a 100644
--- a/testing/082_decl_def.cpp
+++ b/testing/082_decl_def.cpp
@@ -1,7 +1,6 @@
// objective: test for declaration and definition order independence: decl first
// check: namespace_n.xml
// config: INPUT = $INPUTDIR/decl_def.h $INPUTDIR/082_decl_def.cpp
-// config: HTML_CODE_FOLDING = NO
#include "test.h"
/** Namespace */
diff --git a/testing/dtd/xhtml1-transitional.dtd b/testing/dtd/xhtml1-transitional.dtd
index b35923b9230..99318d1677b 100644
--- a/testing/dtd/xhtml1-transitional.dtd
+++ b/testing/dtd/xhtml1-transitional.dtd
@@ -38,6 +38,7 @@
- added details and summary tag
- added placeholder to input tag
- added allowfullscreen to iframe tag
+ - added data-start and data-end to div tag (needed for code folding)
-->
@@ -448,6 +449,8 @@