Skip to content

Commit c21fb8e

Browse files
committed
Recovery tariling spaces
1 parent f8e5b54 commit c21fb8e

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ HackMD
33

44
[![Join the chat at https://gitter.im/hackmdio/hackmd](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/hackmdio/hackmd?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
55

6-
HackMD lets you create realtime collaborative markdown notes on all platforms.
7-
Inspired by Hackpad, with more focus on speed and flexibility.
6+
HackMD lets you create realtime collaborative markdown notes on all platforms.
7+
Inspired by Hackpad, with more focus on speed and flexibility.
88
Still in the early stage, feel free to fork or contribute to HackMD.
99

1010
Thanks for using! :smile:
1111

1212
[docker-hackmd](https://github.com/hackmdio/docker-hackmd)
1313
---
1414

15-
Before you go too far, here is the great docker repo for HackMD.
15+
Before you go too far, here is the great docker repo for HackMD.
1616
With docker, you can deploy a server in minutes without any downtime.
1717

1818
Heroku Deployment
@@ -25,14 +25,14 @@ You can quickly setup a sample heroku hackmd application by clicking the button
2525
[migration-to-0.5.0](https://github.com/hackmdio/migration-to-0.5.0)
2626
---
2727

28-
We don't use LZString to compress socket.io data and DB data after version 0.5.0.
28+
We don't use LZString to compress socket.io data and DB data after version 0.5.0.
2929
Please run the migration tool if you're upgrading from the old version.
3030

3131
[migration-to-0.4.0](https://github.com/hackmdio/migration-to-0.4.0)
3232
---
3333

34-
We've dropped MongoDB after version 0.4.0.
35-
So here is the migration tool for you to transfer the old DB data to the new DB.
34+
We've dropped MongoDB after version 0.4.0.
35+
So here is the migration tool for you to transfer the old DB data to the new DB.
3636
This tool is also used for official service.
3737

3838
Browsers Requirement
@@ -213,9 +213,9 @@ Third-party integration oauth callback urls
213213
Operational Transformation
214214
---
215215

216-
From 0.3.2, we started supporting operational transformation.
217-
It makes concurrent editing safe and will not break up other users' operations.
218-
Additionally, now can show other clients' selections.
216+
From 0.3.2, we started supporting operational transformation.
217+
It makes concurrent editing safe and will not break up other users' operations.
218+
Additionally, now can show other clients' selections.
219219
See more at [http://operational-transformation.github.io/](http://operational-transformation.github.io/)
220220

221221
**License under MIT.**

lib/response.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function showNote(req, res, next) {
161161
findNote(req, res, function (note) {
162162
// force to use note id
163163
var noteId = req.params.noteId;
164-
var id = LZString.compressToBase64(note.id);
164+
var id = LZString.compressToBase64(note.id);
165165
if ((note.alias && noteId != note.alias) || (!note.alias && noteId != id))
166166
return res.redirect(config.serverurl + "/" + (note.alias || id));
167167
return responseHackMD(res, note);
@@ -413,7 +413,7 @@ function publishSlideActions(req, res, next) {
413413
res.redirect(config.serverurl + '/' + (note.alias ? note.alias : LZString.compressToBase64(note.id)));
414414
break;
415415
default:
416-
res.redirect(config.serverurl + '/p/' + note.shortid);
416+
res.redirect(config.serverurl + '/p/' + note.shortid);
417417
break;
418418
}
419419
});

0 commit comments

Comments
 (0)