Git Product home page Git Product logo

Comments (9)

scharel avatar scharel commented on August 11, 2024

--- and <hr> should be working because <hr> it is supported by Qt. Probably I have to do some CSS styling to get the line visible.

Thanks for keeping opening tickets. That's motivating 👍

from harbour-nextcloudnotes.

dimpflmoser avatar dimpflmoser commented on August 11, 2024

Thanks for keeping closing tickets. :-) It's getting harder and harder to create new ones.

from harbour-nextcloudnotes.

scharel avatar scharel commented on August 11, 2024

This seems to be a known bug of Qt: https://bugreports.qt.io/browse/QTBUG-42545

Unfortunately I did not find a workaround. I will replace the <hr> tags with three dashes --- in the next release.

from harbour-nextcloudnotes.

dimpflmoser avatar dimpflmoser commented on August 11, 2024

I see you've already committed a workaround for this issue, I assume it's the ---
What puzzles me is that if you present the showdown syntax in preview mode it shows horizontal lines, so obviously your presentation widget can show those elements. Is there any difference?

from harbour-nextcloudnotes.

scharel avatar scharel commented on August 11, 2024

I see you've already committed a workaround for this issue, I assume it's the ---
What puzzles me is that if you present the showdown syntax in preview mode it shows horizontal lines, so obviously your presentation widget can show those elements. Is there any difference?

Where exactly in "preview mode" are the lines shown? While debugging I found out, that Showdown does replace the three dashes --- by an HTML <hr> tag. The problem is that the UI does not show the line. I also tried different CSS options but this didn't helped either.

from harbour-nextcloudnotes.

dimpflmoser avatar dimpflmoser commented on August 11, 2024

Does this help?
https://laier-online.de:4443/owncloud/index.php/apps/gallery/s/LzBwo3SmMPEEK4f

from harbour-nextcloudnotes.

scharel avatar scharel commented on August 11, 2024

Does this help?
https://laier-online.de:4443/owncloud/index.php/apps/gallery/s/LzBwo3SmMPEEK4f

Well these are Sailfish-QML items called Separator. The page showing the notes uses a QML Widget showing Text.RichText (a subset of HTML elements) formatted text. These are two different worlds.

from harbour-nextcloudnotes.

dimpflmoser avatar dimpflmoser commented on August 11, 2024

I see, thanks for the clarification. Should we close this issue?

from harbour-nextcloudnotes.

scharel avatar scharel commented on August 11, 2024

I'd keep it open, because it is still an issue.

from harbour-nextcloudnotes.

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.