User Activity

  • Modified ticket #200 on PHP Simple HTML DOM Parser

    "Creation of dynamic property" warning in PHP 8.2 (version 1.9.1)

  • Posted a comment on ticket #200 on PHP Simple HTML DOM Parser

    Thanks for your bug report. This is actually a typo. The variable should be called $optional_closing_tags. There is a recent commit in master that illustrates the fix. This should also work in PHP 8.2 and higher. [8dc21bcb714c4edcb4318bdc3f198f4f78762381]

  • Modified ticket #199 on PHP Simple HTML DOM Parser

    Incorrect handling of <br> tags next to line breaks

  • Posted a comment on ticket #199 on PHP Simple HTML DOM Parser

    Looks good now! However, you must set the Unicode flag, or else preg_replace() may return an invalid Unicode string, which may cause the second preg_replace() to return NULL, and a deprecation error for the third preg_replace(). Good catch. Fixed via [b8d048e46b7f1964c28ea041d39ccb1d05f9a0ed]. And about the manual: I see now that the navigation sidebar is aligned far down upon page load, so that only the documentation for the functions (isset etc.) is immediately visible, not the more useful "Quick...

  • Committed [b8d048]

    HtmlNode: Replace and collapse unicode whitespace in plaintext

  • Posted a comment on ticket #199 on PHP Simple HTML DOM Parser

    PS! Would be nice if you could link to the manual from the "Support" section, because it was hard to find. https://sourceforge.net/projects/simplehtmldom/support Turns out that page is managed by SF. There is no way to change the contents of that page 😔 I added a "Manual" tab instead.

  • Posted a comment on ticket #199 on PHP Simple HTML DOM Parser

    PS! Would be nice if you could link to the manual from the "Support" section, because it was hard to find. https://sourceforge.net/projects/simplehtmldom/support Good idea! I'll do that. The space thing works now, but the BR tag is still not handled well. Try the code in the original post and compare the output when (un)-commenting the commented line. I'm comparing the output of plaintext with what is displayed in the browser and it looks exactly the same. Please note that I have removed wordwrap()...

  • Posted a comment on ticket #199 on PHP Simple HTML DOM Parser

    [67c0f4e21091a9cc66151610a653724a0acb1b69] fixes the whitespace issue. Let me know if this works for you.

View All

Personal Data

Username:
logmanoriginal
Joined:
2018-11-24 12:55:40
Location:
Germany / CEST

Projects

This is a list of open source software projects that LogMANOriginal is associated with:

Personal Tools