Fungovanie tejto stránky je z dôvodu údržby dočasne obmedzené. Ak článok nevyrieši váš problém a chcete položiť otázku, napíšte našej komunite podpory na Twitter @FirefoxSupport alebo Reddit /r/firefox.

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

how to define the max length of lines when saving page as text

  • 5 odpovedí
  • 1 má tento problém
  • 10 zobrazení
  • Posledná odpoveď od scheerphil

more options

When saving a page as text file, extra line breaks are added when none is on display. Is there a parameter setting the maximum length after which a line break is automatically inserted?

When saving a page as text file, extra line breaks are added when none is on display. Is there a parameter setting the maximum length after which a line break is automatically inserted?

Všetky odpovede (5)

more options

In a normal text file, you would not see a line break. What file are you talking about? Is there a link?

more options

When a text file is rendered as HTML then line breaks are ignored. So this can happen if the original file already had these line breaks. You can possibly check that in the page source.

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source (Ctrl+U)
  • right-click on the web page and select "View Page Source"
more options

Well, after digging a little, I realized it's probably not a problem of line length. I'm coding an application that parses text files saved from web pages containing the information. The structure is like this: <tr><td>data</td><td>data</td><td>data</td><td>data</td><td>data</td><td>data</td><td>data</td><td>data</td><td>data</td></tr> for thousands of records which, when saved as text, gives data fields separated by Tabs. The thing is, in some cases, Tabs are replaced by line feeds. Can't figure out why.

more options

I think you should contact the help desk of whatever program is using that code for more information. There may be a convert program.

more options

There isn't any other program involved than Firefox to Generate the web page which is perfectly correct when saved as a web page (html only) and my program reading it as a text file. I think the problem lies with Firefox which, for I don't know what reason, introduces line feeds where there shouldn't be any. The 'save as' web page generates a one line file with the correct structure. I've switched to that for the time being. It's just that it takes twice as much space as the pure text file.