What is the installed library path for darylldoyle/svg-sanitizer?

Created on 21 January 2024, 5 months ago
Updated 7 February 2024, 4 months ago

Problem/Motivation

What is the actual library path in Drupal that is needed by this?

] Warning! The SVG Sanitizer library is not installed. This library is necessary if you want to use SVG inline. Without it, the world would be ended. [Blazy UI help].

Steps to reproduce

https://github.com/darylldoyle/svg-sanitizer

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Fixed

Version

2.22

Component

Documentation

Created by

🇺🇸United States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @SocialNicheGuru
  • Status changed to Fixed 5 months ago
  • 🇮🇩Indonesia gausarts

    Thank you.

    Click the provided [Blazy UI help] link for solutions.

    You might get confused about assets libraries vs. PHP libraries :)

  • Status changed to Active 5 months ago
  • 🇺🇸United States SocialNicheGuru

    That wasn't really helpful.
    It says that this library should be downloaded.
    I am asking what should it be named once it is downloaded. that is not clear

  • Status changed to Fixed 5 months ago
  • 🇮🇩Indonesia gausarts

    You didn't read the SVG section!

    If you click the [Blazy UI help] link, you must read the SVG section entirely to this end:
    https://git.drupalcode.org/project/blazy/-/blob/8.x-2.22/docs/README.md?...

    For inline SVG, be sure to install the SVG Sanitizer, if not already:
    composer require enshrined/svg-sanitize

    Nobody says downloads in that section, just install using regular composer. No need to rename anything.

    They will go to /vendor folder, not /libraries.

    As said, do not confuse assets (JS/ CSS) libraries which go to /libraries from PHP libraries which go to /vendor.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024