Login  |  Register

Author Topic: Greatest Moments in Shuffle iT history  (Read 1910 times)

Offline singletee

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Greatest Moments in Shuffle iT history
« Reply #15 on: 09 January 2017, 11:01:21 PM »
The reason that the log copies weirdly (apparently only on Firefox) is that <div> HTML tags are used instead of <span>s to tag the various pieces of text like card names within the log. <div>s naturally create a line break before and after them, so Firefox is dutifully inserting those breaks in the copied text. Chrome, OTOH, seems to take applied CSS styles (like display:inline that is probably used on those tags) into account, so you don't see line breaks there. The proper fix would be for Shuffle iT to replace those <div>s with <span>s.

Offline markus

  • Sr. Member
  • ****
  • Posts: 277
    • View Profile
Re: Greatest Moments in Shuffle iT history
« Reply #16 on: 02 June 2017, 12:01:43 PM »
The reason that the log copies weirdly (apparently only on Firefox) is that <div> HTML tags are used instead of <span>s to tag the various pieces of text like card names within the log. <div>s naturally create a line break before and after them, so Firefox is dutifully inserting those breaks in the copied text. Chrome, OTOH, seems to take applied CSS styles (like display:inline that is probably used on those tags) into account, so you don't see line breaks there. The proper fix would be for Shuffle iT to replace those <div>s with <span>s.

Bringing that up again, even though it should be in the bug forum. That seems like an easy fix that would allow copying logs also from Firefox (Windows) in a nice way.