intfiction.org

The Interactive Fiction Community Forum
It is currently Sun Nov 18, 2018 2:31 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Sep 09, 2018 12:28 pm 
Offline

Joined: Thu Apr 24, 2014 1:55 pm
Posts: 132
I'm trying to save a transcript made in Quixe. To view it, I type "save", then press "edit", select the transcript name, and press "display".

When I copy the transcript text and try to paste it into my text editor, all the carriage returns are missing. I searched for both newline and CR characters, but my editor couldn't find either one.

I'm running the game in Firefox, and this same behavior was experienced by a tester who was also using Firefox.

Any guidance?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Sep 09, 2018 12:38 pm 
Offline
User avatar

Joined: Sun May 21, 2017 4:59 pm
Posts: 298
Location: Michigan
I had the same issue. In general, I opted for selecting all the text from the game display screen and pasting that instead, though this misses anything lost to screen clear events.

_________________
~~~
My ebooks on Amazon
My ebooks on Smashwords


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Sep 09, 2018 12:50 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5802
The display is just an HTML element containing the text. It uses white-space:pre-wrap so that newlines are not ignored.

I guess this is just a quirk of how Firefox implements copy? Does Firefox have this problem in regular <pre> elements?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Sep 09, 2018 1:16 pm 
Offline
User avatar

Joined: Sun May 21, 2017 4:59 pm
Posts: 298
Location: Michigan
zarf wrote:
The display is just an HTML element containing the text. It uses white-space:pre-wrap so that newlines are not ignored.

I guess this is just a quirk of how Firefox implements copy? Does Firefox have this problem in regular <pre> elements?


Looks that way:


_________________
~~~
My ebooks on Amazon
My ebooks on Smashwords


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Sep 09, 2018 2:18 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5802
Okay. I think I can work around that by using a <pre> element in the DOM and restyling it to look the way it should (rather than starting with a <div>, as it is now).

This is pretty silly of Firefox, though.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group