pdf2json icon indicating copy to clipboard operation
pdf2json copied to clipboard

getRawContent() Page Breaks

Open MichaelJC91 opened this issue 8 years ago • 1 comments

Is there any option to make it so the raw content does NOT show the page break text?

MichaelJC91 avatar Jan 30 '17 10:01 MichaelJC91

you could replace it with emtpy string of course it's an extra step

content.replace(/-+Page \(\d+\) Break-+/gm, '')

wardpeet avatar Jun 18 '17 16:06 wardpeet