mediawiki.Title: Fix weird <h1> in constructor description
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 7 Oct 2013 19:38:10 +0000 (21:38 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 7 Oct 2013 19:38:10 +0000 (21:38 +0200)
The leading '#' was triggering a Markdown heading instead of a
jsduck reference. Working around by moving the line break.

Change-Id: I8bf2719938c3c4a092ce5499bae0c7b88f4544c1

resources/mediawiki/mediawiki.Title.js

index 98277fc..4240f08 100644 (file)
@@ -9,9 +9,8 @@
         * @class mw.Title
         *
         * Parse titles into an object struture. Note that when using the constructor
-        * directly, passing invalid titles will result in an exception. Use
-        * #newFromText to use the logic directly and get null for invalid titles
-        * which is easier to work with.
+        * directly, passing invalid titles will result in an exception. Use #newFromText to use the
+        * logic directly and get null for invalid titles which is easier to work with.
         *
         * @constructor
         * @param {string} title Title of the page. If no second argument given,