Module talk:Quote

Proposed alteration, lines 22-28

I would like to propose a change to this code, specifically pertaining to lines 22-28: 22 local html = mw.html.create('blockquote'):attr({ 23       ['data-template'] = 'quote', 24        ['data-font']     = args[3] 25    }) 26       :tag('p') 27           :wikitext(quote) 28    :done This code results in the entire module being written in the selected font, instead of just the quote itself. Proposed fix (I'm not very familiar with the module language, so I'm not confident it will work): 22 local html = mw.html.create('blockquote'):attr({ 23       ['data-template'] = 'quote' 24    }) 25       :tag('p'):attr({ 26            ['data-font'] = args[3] 27        }) 28           :wikitext(quote) 29      :done Could somebody tell me if this doesn't work, is formatted incorrectly, or has other problems?

Jacky720 (talk) 16:22, September 11, 2019 (UTC)