##// END OF EJS Templates
remove trailing white spaces from public/javascripts/jstoolbar/markdown.js...
Toshi MARUYAMA -
r13806:ef8328ab3bee
parent child
Show More
@@ -7,12 +7,12
7 7 * it under the terms of the GNU General Public License as published by
8 8 * the Free Software Foundation; either version 2 of the License, or
9 9 * (at your option) any later version.
10 *
10 *
11 11 * DotClear is distributed in the hope that it will be useful,
12 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 * GNU General Public License for more details.
15 *
15 *
16 16 * You should have received a copy of the GNU General Public License
17 17 * along with DotClear; if not, write to the Free Software
18 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -66,7 +66,7 jsToolBar.prototype.elements.h1 = {
66 66 type: 'button',
67 67 title: 'Heading 1',
68 68 fn: {
69 wiki: function() {
69 wiki: function() {
70 70 this.encloseLineSelection('# ', '',function(str) {
71 71 str = str.replace(/^#+\s+/, '')
72 72 return str;
@@ -78,7 +78,7 jsToolBar.prototype.elements.h2 = {
78 78 type: 'button',
79 79 title: 'Heading 2',
80 80 fn: {
81 wiki: function() {
81 wiki: function() {
82 82 this.encloseLineSelection('## ', '',function(str) {
83 83 str = str.replace(/^#+\s+/, '')
84 84 return str;
@@ -90,7 +90,7 jsToolBar.prototype.elements.h3 = {
90 90 type: 'button',
91 91 title: 'Heading 3',
92 92 fn: {
93 wiki: function() {
93 wiki: function() {
94 94 this.encloseLineSelection('### ', '',function(str) {
95 95 str = str.replace(/^#+\s+/, '')
96 96 return str;
General Comments 0
You need to be logged in to leave comments. Login now