diff src/formats/xhtml.js @ 25:80bf0adc9efd

remove format oo
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 09 Aug 2022 23:15:58 -0600
parents 80a86fb8f2b7
children 8165b83907af
line wrap: on
line diff
--- a/src/formats/xhtml.js	Tue Aug 09 22:49:59 2022 -0600
+++ b/src/formats/xhtml.js	Tue Aug 09 23:15:58 2022 -0600
@@ -486,7 +486,7 @@
 	 * @since v1.4.1
 	 */
 	function xhtmlFormat() {
-		var base = this;
+		var base = {};
 
 		/**
 		 * Tag converters cache
@@ -880,6 +880,8 @@
 				}
 			});
 		};
+
+		return base;
 	};
 
 	/**