[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2014-03-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

Ricordisamoa ricordisa...@live.it changed:

   What|Removed |Added

 CC||ricordisa...@live.it
   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=1581

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2013-09-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

Erwin Dokter er...@darcoury.nl changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #8 from Erwin Dokter er...@darcoury.nl ---
A wiki list item should always be contained within its own line.

If for whatever reason other element tags are contained within that (last)
line, it is invalid wiki markup. The template example does not produce the
error you expect, because a template with a list usually terminates with a
linebreak (otherwise, the template is badly coded).

There is only so much invalid wiki markup the parser can fix, so this is
unlikely to be addressed. Closing as INVALID.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2013-04-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

Brad Jorsch bjor...@wikimedia.org changed:

   What|Removed |Added

 CC||bjor...@wikimedia.org

--- Comment #4 from Brad Jorsch bjor...@wikimedia.org ---
Why are you trying to close the block element inside the list item? When you
give the parser poorly-formatted wikitext, don't be surprised when it gives you
back invalid HTML.

I'm inclined to close this as INVALID.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2013-04-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

--- Comment #5 from Phillip Patriakeas dragonlordofxant...@gmail.com ---
It would be INVALID (maybe) if this bug were about closing the containing
block-level element on any of the list items other than the last one. It is
not, though; this bug pertains specifically to closing the block-level element
at the end of the *last* list item, which should by all accounts result in
valid markup. The fact that it doesn't is counter-intuitive and breaks several
Wikipedia templates when imported to wikis without HTML Tidy enabled. While
that could potentially be fixed by correcting the offending templates (and
that's assuming they *can* be fixed; there's no guarantee it would be possible
without a major overhaul in some cases), it is by no means reasonable to expect
reusers to realize there's a problem, identify the cause, and either fix their
local copy or (preferably) request a fix on Wikipedia's copy.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2013-04-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

--- Comment #6 from Brad Jorsch bjor...@wikimedia.org ---
What's special about the last one that you should be able to close outer block
elements inside it? And what accounts tell you it should result in valid
markup?

Consider what happens when you have a template containing your example, and
then you start another list right after it:

{{comment1}}
* Foo
* Bar

Expands to

div
* This
* is
* a
* list./div
* Foo
* Bar

Suddenly your last element isn't the last element anymore. And this confuses
Tidy too; see [[Template talk:Shortcut#Changing wiki-markup to pure HTML in
lists]] on enwiki, for example.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2013-04-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

--- Comment #7 from Phillip Patriakeas dragonlordofxant...@gmail.com ---
What's special about the last one that you should be able to close outer block
elements inside it?
Nothing, actually, beyond that it's the last list item. Really, the ideal
solution would be for the parser to end the list when it encounters the closing
outer block element, and simply start a new list for any following list
elements; this is certainly a better option than simply outputting broken
markup (especially since the current solution requires breaking the list into
two separate lists anyways).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2013-01-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Low

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2012-09-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

Erwin Dokter er...@darcoury.nl changed:

   What|Removed |Added

 CC||er...@darcoury.nl

--- Comment #3 from Erwin Dokter er...@darcoury.nl 2012-09-16 09:02:07 UTC ---
Probably related: Bug 40274 and Bug 39617.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2012-08-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

Phillip Patriakeas dragonlordofxant...@gmail.com changed:

   What|Removed |Added

Summary|Divs containing lists that  |Closing a block-level
   |are closed on a list item   |element that contains a
   |generate invalid HTML   |list at the end of the last
   ||list item generates invalid
   ||HTML

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2012-08-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

Phillip Patriakeas dragonlordofxant...@gmail.com changed:

   What|Removed |Added

URL|http://yugioh.wikia.com/wik |http://yugioh.wikia.com/wik
   |i/User:Dinoguy1000/sandbox? |i/User:Dinoguy1000/sandbox?
   |oldid=2041433   |oldid=2041434

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39066] Closing a block-level element that contains a list at the end of the last list item generates invalid HTML

2012-08-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39066

--- Comment #2 from Phillip Patriakeas dragonlordofxant...@gmail.com 
2012-08-06 21:26:07 UTC ---
Per http://yugioh.wikia.com/wiki/User:Dinoguy1000/sandbox?oldid=2041434 this
seems to be caused by any block-level element, not just divs.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l