mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 13:53:44 +08:00
Merge pull request #4097 from aryanraj/Fix_PostCooked
Fixed: DecoratorHelper.cooked passing wrong parameters to PostCooked class
This commit is contained in:
commit
f68671a813
|
@ -79,8 +79,8 @@ class DecoratorHelper {
|
|||
* return helper.cooked(`<p>Cook me</p>`);
|
||||
* ```
|
||||
**/
|
||||
cooked(cookedText) {
|
||||
return new PostCooked({ cookedText });
|
||||
cooked(cooked) {
|
||||
return new PostCooked({ cooked });
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user