Hi Mario

I’ve just been checking this out too. It seems that the problem is this 
construction:

<p><div 
style="font-size:0.7em;text-align:center;margin-top:2em;margin-bottom:2em;">

</div></p>

In other words, a paragraph containing an empty div.

If I paste that fragment into the text input node of 
https://validator.w3.org/nu/#textarea <https://validator.w3.org/nu/#textarea> 
in place of the paragraph tag in the default document, then I get the same 
error.

The rule that is being broken is that HTML 4 doesn’t permit DIVs within other 
block level elements. This stackoverflow answer discusses it:

https://stackoverflow.com/a/10763952 <https://stackoverflow.com/a/10763952>

Best wishes

Jeremy

> On 25 Mar 2019, at 09:13, PMario <[email protected]> wrote:
> 
> Hi, 
> 
> I had a closer look. There seems to be a problem with the validator in strict 
> mode. If you open the TW source 2 lines above is the opening p-tag. 
> 
> BUT at the moment TW UI creates some unnecessary "invalid" p-tags. ... So the 
> validator may be confused. ... 
> 
> -----------
> 
> Be aware! The content that you described, is dynamically created from: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/tw5.com/tiddlers/hellothere/HelloThere.tid
>  and is only shown if Javascript is deactivated. 
> 
> ----------------
> 
> The whole TW file is based on several templates. The file itself is 
> dynamically created, and contains a lot of redundant info. ... 
> 
> So if you want to "reverse-engineer" the content, you can probably save a lot 
> of time if you describe what you try to achieve, and we tell you, how you can 
> easily find the right pieces. Since that exactly the same procedure, that TW 
> has to do at startup. 
> 
> -m
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/aa0ac5cf-a655-4acc-91bf-912e8497b9fb%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/aa0ac5cf-a655-4acc-91bf-912e8497b9fb%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7CFA18D5-8643-49B9-AE39-2E4EE286086C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to