mirror of https://github.com/adamdruppe/arsd.git
nobody knows
This commit is contained in:
parent
d921aedfd6
commit
b650e9d536
10
dom.d
10
dom.d
|
@ -26,7 +26,6 @@ void eprintf(T...)(Element parent, string format, T data) {
|
||||||
+/
|
+/
|
||||||
|
|
||||||
// Biggest (known) fixme left for "tag soup": <p> .... <p> in loose mode should close it on the second opening.
|
// Biggest (known) fixme left for "tag soup": <p> .... <p> in loose mode should close it on the second opening.
|
||||||
// Biggest FIXME for real documents: character set encoding detection
|
|
||||||
|
|
||||||
// Should I support Element.dataset? it does dash to camelcase for attribute "data-xxx-xxx"
|
// Should I support Element.dataset? it does dash to camelcase for attribute "data-xxx-xxx"
|
||||||
|
|
||||||
|
@ -46,8 +45,17 @@ void eprintf(T...)(Element parent, string format, T data) {
|
||||||
|
|
||||||
The haml converter produces a mixin string that does getElementBySelectorAndMakeIfNotThere and calls
|
The haml converter produces a mixin string that does getElementBySelectorAndMakeIfNotThere and calls
|
||||||
setMainPart on it. boom.
|
setMainPart on it. boom.
|
||||||
|
|
||||||
|
|
||||||
|
but meh
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
void sanitizeHtml(Document document) {
|
||||||
|
foreach(e; document.root.tree) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
///.
|
///.
|
||||||
T[] insertAfter(T)(T[] arr, int position, T[] what) {
|
T[] insertAfter(T)(T[] arr, int position, T[] what) {
|
||||||
assert(position < arr.length);
|
assert(position < arr.length);
|
||||||
|
|
Loading…
Reference in New Issue