File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ class="btn btn-xs btn-xxs btn-danger">@lang('common.delete')</button></a>
124
124
</span >
125
125
</aside >
126
126
127
- <article class =" col-md-9 post-content" >
127
+ <article class =" col-md-9 post-content" data-bbcode = " {{ $p -> content } } " >
128
128
@joypixels ($p -> getContentHtml () )
129
129
</article >
130
130
@@ -325,7 +325,7 @@ class='label label-sm label-success'>@lang('common.remove')
325
325
$ (document ).ready (function () {
326
326
$ (' .profil' ).on (' click' , ' button#quote' , function () {
327
327
let author = $ (this ).closest (' .profil' ).find (' .post-info-username' ).first ().text ();
328
- let text = $ (this ).closest (' .profil' ).find (' .post-content' ).text (). replace ( ' @here ' , ' ' );
328
+ let text = $ (this ).closest (' .profil' ).find (' .post-content' ).data ( ' bbcode ' );
329
329
$ (" #topic-response" ).wysibb ().insertAtCursor (' [quote=@' + author .trim ()+ ' ]' + text .trim ()+ ' [/quote]\r\n ' , true );
330
330
});
331
331
});
You can’t perform that action at this time.
0 commit comments