Closed
Bug 955165
Opened 12 years ago
Closed 7 years ago
Using `for` in lists or tables causes unexpected behavior
Categories
(support.mozilla.org :: Knowledge Base Software, task, P4)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: beringstrait, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20131228030204
Steps to reproduce:
Use `# [[T:Open Add-ons|type=Plugins]]` to references Template:Open Add-ons(https://support.mozilla.org/en-US/kb/templateopen-add-ons).
For example: Find and install add-ons to add features to Firefox(https://support.mozilla.org/en-US/kb/find-and-install-add-ons-add-features-to-firefox).
Actual results:
An unexpected HTML markup generated.
Content of block-level `for` grammar becomes several list items, but only the content of first one have correct `for` structure.
Causes an empty item and another item always shows.
Expected results:
`for` grammar should apply to all its content, `#` should generate only one list item.
For tables, `for` should be able to apply to a whole column.
Comment 1•12 years ago
|
||
Simon, is this occuring on articles that existed before the new ShowFor was implemented in November? Or is this something you are trying to use in new articles and it is not working?
If it is the latter, I suspect that this is a duplicate of bug 414512 caused by the templating system, showfor, and lists not working together as expected. I think there are known work arounds for this.
| Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Mike Cooper [:mythmon] from comment #1)
> Simon, is this occuring on articles that existed before the new ShowFor was
> implemented in November? Or is this something you are trying to use in new
> articles and it is not working?
Recently, you can see Template:Open Add-ons was last updated on Dec 21.
> If it is the latter, I suspect that this is a duplicate of bug 414512 caused
> by the templating system, showfor, and lists not working together as
> expected. I think there are known work arounds for this.
I think the template has already used the workaround(use <li> instead #), but in linked articles there still be some strange list item.
I'm new to Mozilla Support edit system after December and I'm a translator for Simplified Chinese but not a editor for English, so I'm sorry I didn't know that bug report before.
Updated•8 years ago
|
Priority: -- → P4
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•