alkem-io / client-web

Default web frontend, enabling browsing the Alkemio platform - so the hosted Challenges and communities collaborating around those Challenges.
https://alkem.io
European Union Public License 1.2
15 stars 6 forks source link

BUG: Image is not rendered on Callout MD #2462

Closed Comoque1 closed 2 years ago

Comoque1 commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to Create a callout
  2. Use the fallowing MD for description:
    
    # Markdown syntax guide

Headers

This is a Heading h1

This is a Heading h2

This is a Heading h6

Emphasis

This text will be italic
This will also be italic

This text will be bold
This will also be bold

You can combine them

Lists

Unordered

Ordered

  1. Item 1
  2. Item 2
  3. Item 3
    1. Item 3a
    2. Item 3b

Images

Links

You may be using Markdown Live Preview.

Blockquotes

Markdown is a lightweight markup language with plain-text-formatting syntax, created in 2004 by John Gruber with Aaron Swartz.

Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.

Tables

Left columns Right columns
left foo right foo
left bar right bar
left baz right baz

Blocks of code

let message = 'Hello world';
alert(message);

Inline code

This web site is using markedjs/marked.


3. Check the summary - the image is not rendered
4. See error
![image.png](https://images.zenhubusercontent.com/5f5ff9fd50a1a94a1f25f32c/d2364927-eab8-4842-a41f-e549f0ad440b)

**Expected behavior**
Callout image is rendered on summary and after it is created.
Description to be displayed as markdown when callout created.
ccanos commented 2 years ago

@Comoque1 I haven't been able to reproduce the images issue. But definitely the Markdown element was missing and has been now added. Please, take a look again and let me know if anything else is missing.