mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04: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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue