Closed Bug 620340 Opened 14 years ago Closed 14 years ago

Templates consisting in numbered lists are incorrectly interpreted leaving a blank row at the end

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 617562

People

(Reporter: underpass_bugzilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 Build Identifier: Sorry if I did not manage to be more accurate in the description: it seems that if a template consists in a numbered list (like [[T:safemode]] and [[T:clearCookiesCache]]), seems that Kitsune adds a blank row at the end making the following numbered entries of the list starting from 1 again. This happens for example in the article https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting at the paragraph - Troubleshoot extensions and themes The same happens if you substitute [[T:safemode]] with [[T:clearCookiesCache]] and activate the preview. The problem does not seem bound to the template itself: I tried to edit one of them adding more numbered entries (#) at the end and these are correctly interpreted. So I think the problem happens when you use such a template in an article. Reproducible: Always
Summary: Templates containing numbered lists are incorrectly interpreted leaving a blank row at the end → Templates consisting in numbered lists are incorrectly interpreted leaving a blank row at the end
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → 2.4.1
Michael Verdi commented on the numbered list problem with the safemode template here: https://support.mozilla.com/en-US/forums/contributors/704848
So the markup here is, for example: [[Template:Something with a Numbered List]] # List item 3 # List item 4 This isn't supported. There's bug 617562 already, but as I said there, I'm not even sure we can support this. A couple work arounds: * Word the template to work as a nested list, and do # Something [[Template:Etc...]] # List item 3 # List item 4 * Move the rest of the list into the template, possibly use template args. * Replace the last two list items with: <ol start="3"> <li>List item 3</li> <li>List item 4</li> </ol>
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.