rutan / potmum

Potmum is cloud note-app.
MIT License
114 stars 11 forks source link

In spite of alerting `エラーしたよ`, actually it is saved #3

Closed amutake closed 8 years ago

amutake commented 8 years ago

Hi, I found a bug when I tried to save an article like below.

- foo
- 

bar

(NOTE: the second list-item has some spaces)

Reproduction

  1. go to 新規作成 page and write above markdown to body.
  2. click 下書き保存 then potmum alerts エラーしたよ (500).
  3. go to マイページ -> 未公開の記事 page then you will see the article.

    Environment

    • branch: replace_to_potmarkdown
    • browser: Chrome v50 (OS X)
rutan commented 8 years ago

Thanks for the report 😃

This is bug of pot_markdown gem 😭 ( markdown processor for Potmum. ) I fixed this in pot_markdown v.0.1.5 https://github.com/rutan/pot_markdown/commit/083dcb319ddbd8dcf1904db0730faeff8f216b8c

amutake commented 8 years ago

Thank you for the quick fix :bow: :bow: