Commit Graph

20 Commits

Author SHA1 Message Date
syuilo
d4a630902d refactor: Use === 2020-04-04 08:46:54 +09:00
Aya Morisawa
e94dd8a5e8 Refactor removal of trailing comma/period (#5434)
* Refactor removal of trailing comma/period

* Use regex
2019-09-27 04:59:40 +09:00
Acid Chicken (硫酸鶏)
0f2d392b4b Use stringz.length instead of String.length in hashtag length calculation (#5443)
* Use stringz.length instead of String.length

* length to 128, ignore combining
2019-09-22 01:21:45 +09:00
MeiMei
1a8632e802 Fix: Keycap Number Sign が表示できない (#5431)
* Fix: Keycap Number Sign が表示できない

* add U+20E3
2019-09-15 23:33:58 +09:00
syuilo
76693138d3
Fix MFM parsing: Ignore parent [] of URL 2019-07-02 20:05:52 +09:00
syuilo
33d79420eb
Fix code style 2019-06-19 17:47:24 +09:00
syuilo
285d0d13f9
Fix MFM URL parsing 2019-06-17 20:15:19 +09:00
syuilo
63c659bc8f
Fix MFM strike parsing 2019-06-16 21:42:57 +09:00
syuilo
af60b45ee7
Fix MFM italic parsing 2019-06-16 21:30:51 +09:00
Satsuki Yanagi
5fb0a995dd 様々な修正 (#4859)
Typo, Redundant code, Syntax error の修正
2019-05-05 09:27:55 +09:00
syuilo
95733c9490
[MFM] Better hashtag parsing 2019-04-18 00:40:56 +09:00
MeiMei
2684541693 Custom reaction (#4517)
* Custom reaction

* increase limit of reactions/delete

* リアクションの場合は OS標準の絵文字を使用 を迂回する

* カスタムリアクションを無効にする設定

* fix

* disableCustomReaction --> enableEmojiReaction

* Avoid MFM rendering

* 🎨

* 🎨

* Auto accept

* custom emoji reaction

* Improve usability

* Extract emojiRegex

* Fix

* Clean up

* 🎨

* 🎨

* toDbReaction で reaction は必須に

あとフォールバックは like に

* Clean up

* Make required

* 3eb08748fe (r266241728)

* Refactor

* Allow null
2019-03-18 00:03:57 +09:00
Acid Chicken (硫酸鶏)
38656103c0
Add angle bracket covered url syntax to mfm (#4483)
* Add angle bracket covered url syntax to mfm

* Fix path

* Fix match

* Fix index
2019-03-14 21:23:15 +09:00
syuilo
2782e7d26f
[MFM] Improve hashtag parsing 2019-03-05 22:18:29 +09:00
syuilo
31929dad61
[MFM] Better hashtag parsing: Ignore slash 2019-02-06 00:05:26 +09:00
syuilo
4f99b98ed8
Revert b515cc90e9 2019-01-31 17:42:36 +09:00
syuilo
b515cc90e9
[MFM] Better syntax parsing
Allow nesting by same tag
2019-01-31 12:23:45 +09:00
syuilo
bb92158dff
[MFM] Make some syntax block
Resolve #3508
2019-01-31 12:10:48 +09:00
Aya Morisawa
c652add16a Simplify MFM (#4046) 2019-01-31 12:06:13 +09:00
Aya Morisawa
d06fbbe3ea
Rename parser to language 2019-01-30 17:04:49 +09:00