WikiDocs icon indicating copy to clipboard operation
WikiDocs copied to clipboard

Markdown to html error

Open ffiesta opened this issue 1 year ago • 3 comments

Describe your issue

I won't knows if it can be considered an error but i think it is an issue:

Problem 1: Collapsible section

We add +++ to show plus signal, ... but wikidows instead show plus signal convert it to html code despite the code being in triple quotes.

MD code
MD code

Image from wikidocs Image from wikidocs.app

Problem 2: Using ASCII code in code fields

I tried to use ASCII code ⚠ to identify a warning sign ( âš  ), in first save it's ok. After open page to edit wikidocs automaticaly show warning sign despite the code being in triple quotes.

  1. add line code
\`\`\`php

if (file_exists('error_log')) {echo " ⚠" ;}

\`\`\`   
  1. Save Verify it's OK
    Image

  2. Edit Verify wikidocs automatic convert to warning sign

Image

  1. To grant i won't lost ASCII code i add new line with back slash to escape strings

Image

Device and settings

Multiple browsers windows 10

Steps to reproduce

  1. add my code to wikidocs if (file_exists('error_log')) {echo " ⚠" ;}
  2. save
  3. open to edit
  4. Verify the problem (the ⚠ it's converted.

Screenshots (optional)

No response

Extra fields

  • [ ] I'd like to work on this issue

ffiesta avatar Jan 22 '25 10:01 ffiesta

Hi @Zavy86

I’m currently running tests on the aforementioned issue and the conversion of the emoji ⚠. However, I’ve realized that the first version of WikiDocs (0.0.18) is missing. Could you share it with me?*

*I suspect the problem lies in how WikiDocs processes reading/writing the content.md file, but to confirm this, I need to verify whether the error already occurred in the initial version.

ffiesta avatar Jul 09 '25 17:07 ffiesta

in this period new versions overwrite the previous.. we can't recover it so easly

Zavy86 avatar Jul 09 '25 17:07 Zavy86

in this period new versions overwrite the previous.. we can't recover it so easly

No problem! I will make my analysis

ffiesta avatar Jul 09 '25 18:07 ffiesta