.md files don't show the pasted images

Nextcloud version (eg, 20.0.5): 22.2.3~ynh1
Operating system and version (eg, Ubuntu 20.04): Debian buster
Apache or nginx version (eg, Apache 2.4.25): nginx 1.14.2
PHP version (eg, 7.4): 7.3.31

The issue you are facing:
When i’m in my cloud and edit a markdown file, i can’t paste my images or screenshot anymore, i have to go through the built-in image insert tool and select a file from my drive to see it.
But if i click on the broken image, it open a new tab with the picture so he does have it registered on the document but is showing a broken image (not an empty space)

Is this the first time you’ve seen this error? (Y/N): I have this error from about a month

Steps to replicate it:

  1. Create a markdown file on the cloud
  2. Take a screenshot (i’m on windows so CTRL+SHIFT+S)
  3. CTRL+V on the markdown file
  4. No profits

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'passwordsalt' => 'saltpassword',
  'secret' => 'secretpass',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'cloud.mydomain.fr',
  ),
  'datadirectory' => '/home/yunohost.app/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '22.2.3.0',
  'overwrite.cli.url' => 'https://cloud.mydomain.fr',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'nextcloudbpass',
  'installed' => true,
  'instanceid' => 'ocx80dzwmhqs',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'updatechecker' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'integrity.check.disabled' => true,
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => '6379',
    'timeout' => '0.0',
    'password' => '',
  ),
  'hashing_default_password' => true,
  'logout_url' => 'https://mydomain.fr/yunohost/sso/?action=logout',
  'maintenance' => false,
  'loglevel' => 2,
  'localstorage.allowsymlinks' => true,
  'simpleSignUpLink.shown' => false,
);