markor icon indicating copy to clipboard operation
markor copied to clipboard

action_share_html_source

Open MusmusIRQ opened this issue 2 months ago • 2 comments

⚠️ This issue respects the following points: ⚠️

  • [x] This is a bug. Not a question or feature request.
  • [x] The topic is not already reported at Issues. (I've searched it).
  • [x] Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • [x] The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

Description

When selecting “Share → HTML source”, the app incorrectly shares rendered HTML content (via convertMarkup()) while declaring the MIME type text/plain. This causes recipients to see HTML tags instead of the expected raw markup (e.g., Markdown, Org, AsciiDoc).

Steps to reproduce

  1. Open any non-HTML document (e.g., Markdown) with headings or formatting symbols.

  2. Tap Share → HTML source.

  3. Share to a plain-text app (e.g., Notes, Email, SMS).

Information

Android version: Device: Samsung S9 App Version:

Source

F-Droid

Format / File type

Not specific

Additional info / Log

-

MusmusIRQ avatar Nov 08 '25 19:11 MusmusIRQ

There is a option for sharing HTML as text/plain and /html MIME, next to each other.

gsantner avatar Nov 08 '25 20:11 gsantner

@gsantner both displayed html writing for me

MusmusIRQ avatar Nov 08 '25 20:11 MusmusIRQ