File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ class StackExchangeParser extends Parser {
48
48
49
49
const topAnswer = question . topAnswer
50
50
? this . settings . stackExchangeAnswer
51
+ . replace ( / % d a t e % / g, this . getFormattedDateForContent ( ) )
51
52
. replace ( / % a n s w e r C o n t e n t % / g, question . topAnswer . content )
52
53
. replace ( / % a u t h o r N a m e % / g, question . topAnswer . author . name )
53
54
. replace ( / % a u t h o r P r o f i l e U R L % / g, question . topAnswer . author . profile )
@@ -56,6 +57,7 @@ class StackExchangeParser extends Parser {
56
57
let answers = '' ;
57
58
for ( let i = 0 ; i < question . answers . length ; i ++ ) {
58
59
const answer = this . settings . stackExchangeAnswer
60
+ . replace ( / % d a t e % / g, this . getFormattedDateForContent ( ) )
59
61
. replace ( / % a n s w e r C o n t e n t % / g, question . answers [ i ] . content )
60
62
. replace ( / % a u t h o r N a m e % / g, question . answers [ i ] . author . name )
61
63
. replace ( / % a u t h o r P r o f i l e U R L % / g, question . answers [ i ] . author . profile ) ;
You can’t perform that action at this time.
0 commit comments