mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Fixed: DecoratorHelper.cooked passing wrong parameters to PostCooked class
This commit is contained in:
parent
67a5fc39de
commit
c03b8940df
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