Timeline for Html Indentation
Current License: CC BY-SA 4.0
35 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 27, 2018 at 23:48 | comment | added | Adám | @LuisfelipeDejesusMunoz May we split self-closing tags into an opening and a closing tag? | |
Dec 27, 2018 at 22:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 27, 2018 at 22:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 28, 2018 at 21:41 | answer | added | Titus | timeline score: 0 | |
Oct 28, 2018 at 10:48 | answer | added | Neil | timeline score: 1 | |
Oct 26, 2018 at 18:18 | answer | added | Nicholas Pipitone | timeline score: 0 | |
Oct 26, 2018 at 18:12 | comment | added | Nicholas Pipitone |
@LuisfelipeDejesusMunoz I'd make a note that all tags are guaranteed to match /\w( (\w*="\w*"))*/ or something. Maybe more lax than \w in "\w*" but that's up to you
|
|
Oct 26, 2018 at 17:54 | comment | added | Luis felipe De jesus Munoz | @l4m2 no....... | |
Oct 26, 2018 at 16:32 | comment | added | l4m2 |
<div id={br}""></div>
|
|
Oct 26, 2018 at 16:30 | comment | added | l4m2 |
Do we need to consider <input type=text value="you_guess" onclick=f("2'3'4"); disabled /> ?
|
|
Oct 26, 2018 at 16:24 | answer | added | Dead Possum | timeline score: 0 | |
Oct 26, 2018 at 9:00 | history | tweeted | twitter.com/StackCodeGolf/status/1055745859646828544 | ||
Oct 26, 2018 at 6:14 | history | reopened |
user202729 Arnauld Luis felipe De jesus Munoz Dead Possum tsh |
||
Oct 25, 2018 at 11:46 | comment | added | Luis felipe De jesus Munoz | Apologies to you all. I'll edit the question right now to make it more clear | |
Oct 25, 2018 at 9:07 | comment | added | user58988 | One could do that problem for general indentation that gets string as "(" or "{" for open the correspondence for close... it seems to me something one can handle with one little recursive function... | |
Oct 25, 2018 at 3:13 | comment | added | mbomb007 | I voted that this question should remain closed. It still needs clarification in the challenge description about text nodes and whitespace. | |
Oct 25, 2018 at 2:25 | history | edited | Bubbler | CC BY-SA 4.0 |
added 29 characters in body
|
Oct 25, 2018 at 0:35 | review | Reopen votes | |||
Oct 25, 2018 at 3:12 | |||||
S Oct 25, 2018 at 0:19 | history | suggested | Nicholas Pipitone | CC BY-SA 4.0 |
Clarify inconsistencies by having well-formed html
|
Oct 24, 2018 at 23:27 | review | Suggested edits | |||
S Oct 25, 2018 at 0:19 | |||||
Oct 24, 2018 at 15:12 | comment | added | user202729 |
@LuisfelipeDejesusMunoz You can add a rule "Each tag that is not self-closing has a matching (open/close) tag", regarding <p><p></p> .
|
|
Oct 24, 2018 at 7:58 | comment | added | edc65 | @recursive yes I kwow. Maybe the OP does not | |
Oct 23, 2018 at 20:54 | comment | added | recursive | @edc65: This question is not about xhtml | |
Oct 23, 2018 at 14:56 | history | closed |
nwellnhof Wheat Wizard♦ manatwork hyperneutrino♦ O.O.Balance |
Needs details or clarity | |
Oct 23, 2018 at 14:25 | answer | added | Cowabunghole | timeline score: 0 | |
Oct 23, 2018 at 14:09 | comment | added | edc65 | <p><p></p> is not valid Xhtml. | |
Oct 23, 2018 at 14:05 | review | Close votes | |||
Oct 23, 2018 at 14:56 | |||||
Oct 23, 2018 at 13:53 | comment | added | Poke | Also worth noting that xmllint can probably be used to trivialize this problem. | |
Oct 23, 2018 at 13:52 | comment | added | Poke |
By specifying HTML I'm assuming that you do not care about significant whitespace? <foo></foo> can be meaningfully different than <foo>\n</foo> if we're just talking about XML in general.
|
|
Oct 23, 2018 at 13:49 | comment | added | nwellnhof |
<p><p></p> is valid HTML (tag soup). Are you confusing HTML with XML?
|
|
Oct 23, 2018 at 13:45 | history | edited | Luis felipe De jesus Munoz | CC BY-SA 4.0 |
added test case
|
Oct 23, 2018 at 13:36 | comment | added | nwellnhof |
Then how should <p><p></p> be indented? Like <p>\n<p></p> or <p>\n <p>\n</p> ?
|
|
Oct 23, 2018 at 12:54 | comment | added | Luis felipe De jesus Munoz | @AdmBorkBork Yes | |
Oct 23, 2018 at 12:41 | comment | added | AdmBorkBork |
Do we need to support single-label tags like img or a ?
|
|
Oct 23, 2018 at 12:32 | history | asked | Luis felipe De jesus Munoz | CC BY-SA 4.0 |