Code Monkey home page Code Monkey logo

Comments (6)

BayardLifer avatar BayardLifer commented on July 30, 2024

image

from pdf-to-html.

KMV1 avatar KMV1 commented on July 30, 2024

Got the same errors: #58
Have you fixed it?

And are your styles of output html correct?

from pdf-to-html.

BayardLifer avatar BayardLifer commented on July 30, 2024

Got the same errors: #58
Have you fixed it?

And are your styles of output html correct?

I just deleted the functionality that is called and leads to an error (this is a radical measure * _ *). But the styles are lost, this is what I get:
image

Unfortunately, if you use some online services with a similar conversion, you will get the same thing.
I did not find a solution how to get content from pdf as html :(

from pdf-to-html.

sitefaitbienfait avatar sitefaitbienfait commented on July 30, 2024

Hi,
I had the same issue with php-html-parser v1.7.0.
This is fixed in php-html-parser 2.0.0

I think this is related to this issue :
paquettg/php-html-parser#153

Regards

from pdf-to-html.

tusharsawant2427 avatar tusharsawant2427 commented on July 30, 2024

change line vendor\paquettg\php-html-parser\src\PHPHtmlParser\Selector.php
At line 171 to 172 change code to
if (!empty($rule['tag']) &&
!empty($rule['key']) &&
is_numeric($rule['key'])
)

from pdf-to-html.

mlccapulong avatar mlccapulong commented on July 30, 2024

Hi,
I had the same issue with php-html-parser v1.7.0.
This is fixed in php-html-parser 2.0.0

I think this is related to this issue :
paquettg/php-html-parser#153

Regards

@sitefaitbienfait How can I update the php-html-parser? I'm using composer and it's a sub-dependency of pdftohtml-php and there's a fixed version for the php-html-parser on it's required section.

from pdf-to-html.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.