diff --git a/source/Ox/js/HTML.js b/source/Ox/js/HTML.js
index e7e850fe..bf73b6a7 100644
--- a/source/Ox/js/HTML.js
+++ b/source/Ox/js/HTML.js
@@ -507,4 +507,13 @@
return Ox.normalizeHTML(html);
};
+ /*@
+ Ox.stripTags Strips HTML tags from a string
+ > Ox.stripTags('foo')
+ 'foo'
+ @*/
+ Ox.stripTags = function(string) {
+ return string.replace(/<.*?>/g, '');
+ };
+
}());
diff --git a/source/Ox/js/String.js b/source/Ox/js/String.js
index 7b5a0d08..47154e50 100644
--- a/source/Ox/js/String.js
+++ b/source/Ox/js/String.js
@@ -415,15 +415,6 @@ Ox.startsWith = function(string, substring) {
return string.slice(0, substring.length) == substring;
};
-/*@
-Ox.stripTags Strips HTML tags from a string
- > Ox.stripTags('foo')
- 'foo'
-@*/
-Ox.stripTags = function(string) {
- return string.replace(/<.*?>/g, '');
-};
-
/*@
Ox.toCamelCase Takes a string with '-', '/' or '_', returns a camelCase string
> Ox.toCamelCase('foo-bar-baz')