Open Bug 1887061 Opened 1 year ago Updated 9 months ago

Embedded images - `![]()` - should render (as a link).

Categories

(bugzilla.mozilla.org :: Bug Creation/Editing, enhancement)

Production
enhancement

Tracking

()

People

(Reporter: zn7esutb, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0

Steps to reproduce:

I filed

<blockQuote>

  1. I installed https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/MozillaFirefox-123.0.1-1.1.x86_64.rpm.

  2. I invoked the browser-native share menu at https://www.16personalities.com/profile#:~:text=View%20past%20results-,share%20your%20profile,-Let%20someone%20else, which caused

    to appear.

  3. I resized that child window using https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/kwin6-6.0.2-1.1.x86_64.rpm's standard resize handles.

</blockQuote>

which in pure Markdown is

1.  I installed https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/MozillaFirefox-123.0.1-1.1.x86_64.rpm.
1.  I invoked the browser-native share menu at https://www.16personalities.com/profile#:~:text=View%20past%20results-,share%20your%20profile,-Let%20someone%20else, which caused

    > ![https://imgur.com/oXrVdtd](https://i.imgur.com/oXrVdtd.png)

    to appear.

1.  I resized that child window using https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/kwin6-6.0.2-1.1.x86_64.rpm's standard resize handles.

at https://bugzilla.mozilla.org/show_bug.cgi?id=1887056#c1.

Actual results:

As https://bugzilla.mozilla.org/show_bug.cgi?id=1887056#c1 explains:

<blockQuote>

https://bugzilla.mozilla.org/show_bug.cgi?id=1887056#c0

My Markdown image embeds

![]()

don't appear to have rendered. They should at least display the textual fallback.

</blockQuote>

Expected results:

They should render the images, and failing that, render the text fallback.

Thanks for the report - rendering images inline isn't something we support; handling this gracefully makes a lot of sense.

A simple fix would be to treat images as a link and render accordingly.

Status: UNCONFIRMED → NEW
Type: defect → enhancement
Ever confirmed: true
Summary: `![]()` doesn't render, and doesn't revert to text fallback. → Embedded images `![]()` should render as a link
OS: Unspecified → All
Hardware: Unspecified → All
Summary: Embedded images `![]()` should render as a link → Embedded images `![]()` should render as a link.

https://bugzilla.mozilla.org/show_bug.cgi?id=1887061#c1

Thanks, glob@mozilla.com. Apologies for not properly formatting the report - I didn't expect that the HTML wouldn't render. It should have been:

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0

Steps to reproduce:

I filed

  1. I installed https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/MozillaFirefox-123.0.1-1.1.x86_64.rpm.
  2. I invoked the browser-native share menu at https://www.16personalities.com/profile#:~:text=View%20past%20results-,share%20your%20profile,-Let%20someone%20else, which caused to appear.
  3. I resized that child window using https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/kwin6-6.0.2-1.1.x86_64.rpm's standard resize handles.

which in pure Markdown is

  1. I installed https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/MozillaFirefox-123.0.1-1.1.x86_64.rpm.

  2. I invoked the browser-native share menu at https://www.16personalities.com/profile#:~:text=View past results-,share your profile,-Let someone else, which caused

    to appear.

  3. I resized that child window using https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/kwin6-6.0.2-1.1.x86_64.rpm's standard resize handles.

at https://bugzilla.mozilla.org/show_bug.cgi?id=1887056#c1.

Actual results:

As https://bugzilla.mozilla.org/show_bug.cgi?id=1887056#c1 explains:

https://bugzilla.mozilla.org/show_bug.cgi?id=1887056#c0

My Markdown image embeds

![]()

don't appear to have rendered. They should at least display the textual fallback.

Expected results:

They should render the images, and failing that, render the text fallback.

although that's still not brilliantly formatted.

Summary: Embedded images `![]()` should render as a link. → Embedded images - `![]()` - should render (as a link).
You need to log in before you can comment on or make changes to this bug.