Thanks for the responses!

On Tuesday, February 19, 2013 7:08:05 AM UTC-5, Jeremy Ruston wrote:

visible difference between the two versions can be attributed to the HTTP 
> version being read only. Do you get the same behaviour if you visit your 
> site over HTTP with #readOnly:no at the end of the URL? ie 
> http://tiddlywiki.secret-hq.com/testing/IE10_PRE-CodeRendering.html#readOnly:no
>

When viewing the online version over *http:*, it makes no difference here.

I tried adding the *#readOnly:no* switch to the local (*file:///*) version, 
but IE would have no truck with that.  [As you probably already knew (but I 
didn't), I got a "cannot find page" dialog.]

(See my response to your other comment — later in this post — for a more 
salient point, though.)

----

On Saturday, February 16, 2013 1:21:31 PM UTC-5, Tobias Beer wrote:

There is a bug in TiddlyWiki that may make it fail for ie10, e.g. the 
> ImageMacroPlugin, on which a few others depend on TiddlySpace:  ieVersion 
> is not assessed correctly as it doesn't (yet) cater for any version > 9 as 
> it only looks for a single digit. Was about to fork the master and and 
> submit a fix... but haven't doen so yet.
>>
>>
> Well, fwiw, the correct line would be...
> config.browser.ieVersion = /MSIE (\d{1,2}.\d)/i.exec(config.userAgent);
>

Just for kicks, I searched through the core code of my test case TW and 
manually changed the browser detection regex from:

ieVersion: /MSIE (\d.\d)/i.exec(config.userAgent)

to:

ieVersion: /MSIE (\d{1,2}.\d)/i.exec(config.userAgent)

and then to:

ieVersion: /MSIE (\d{2}.\d)/i.exec(config.userAgent)

... but, alas, neither version affected the display of line breaks in 
codeview.  I suspect this means there are heavier issues at play than 
simply not recognizing the correct IE10 version (i.e., some change in 
Trident) — but I don't know that.

(I removed the core-code tweak from the online version, just in case anyone 
grabs it to experiment with.)

----

On Tuesday, February 19, 2013 7:58:13 AM UTC-5, Jeremy Ruston wrote:

I've had a quick look at your page in IE10, and am experiencing the same 
> missing line breaks problem, even though I'm viewing the page over HTTP.
>
> I did find out that if you open the developer tools in IE with F10, and 
> then switch the "Document Mode: Standards" dropdown to IE9 mode, then the 
> missing line breaks return, and the text appears normally.
>

How odd!

That reminded me of IE's Compatibility Mode, which I'd forgotten about. 
 Using CompatMode (which is easily toggled from the address bar), I get 
similar results — line breaks rendered in Compatibility Mode, not rendered 
in standard view.

I've updated the test case TW with new screenshots that explain it better 
than listing off the differences:  :)

http://tiddlywiki.secret-hq.com/testing/IE10_PRE-CodeRendering.html

-- 
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 http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to