Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

plain_text.wrap_long_lines not working properly. Even with the value set to false, lines still wrap. I have to use Ctrl-U to force the wrap off each time.

more options

Updated to version 68.0 this morning, and line wrapping of long text lines still happens even with the plain_text.wrap_long_lines set to false. I've set and reset it, restarted each time. I have to use Ctrl-U to display the page properly.

I create many plain text reports that are legal page size, in landscape (don't ask, not my decision, it just has to be). It's not a deal-breaker, but it is an annoyance.

Updated to version 68.0 this morning, and line wrapping of long text lines still happens even with the plain_text.wrap_long_lines set to false. I've set and reset it, restarted each time. I have to use Ctrl-U to display the page properly. I create many plain text reports that are legal page size, in landscape (don't ask, not my decision, it just has to be). It's not a deal-breaker, but it is an annoyance.

All Replies (4)

more options

Right. They decided to change it in bug 1514655.

You still can disable wrapping in plain text files via View -> Page Style -> No style.

more options

That's nice. Is there config line somewhere to force Page Style to No Style by default?

more options

You could use the Stylus extension to inject a rule that prevents wrapping in all .txt files. Of course, that would only be useful if your file names end with a .txt extension.

@-moz-document regexp(".*\\.txt") {
  /* override pre-wrap styling */
  pre {
    white-space: pre
  }
}

(To add that rule to Stylus, call up its Manage page, click Import, and then paste the above style block.)

Modified by jscher2000 - Support Volunteer

more options

A quick look at today's reports and they all have the .txt extension. I'll check them all during the next week.

If everything is .txt, I'll install the extension and add the style.

Thank you very much for the information. We've been using Firefox for years because it was the one browser that did not wrap text files when we set that flag.