mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 14:32:44 +08:00
Update vanilla_body_parser for stability
This commit is contained in:
parent
f2a6791ce2
commit
8b678b5dbe
|
@ -28,7 +28,7 @@ class VanillaBodyParser
|
|||
end
|
||||
|
||||
def rich?
|
||||
@row['Format'] == 'Rich'
|
||||
@row['Format'].casecmp?('Rich')
|
||||
end
|
||||
|
||||
def json
|
||||
|
|
Loading…
Reference in New Issue
Block a user