Giter Site home page Giter Site logo

sommerregen / grav-plugin-textformatter Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 0.0 705 KB

This plugin is a wrapper for TextFormatter (https://github.com/s9e/TextFormatter), a library that supports BBCode, HTML and other markup via plugin. It handles emoticons, censors words, automatically embeds media and more.

License: Other

PHP 100.00%
grav grav-plugin textformatter bbcode emoji censor

grav-plugin-textformatter's People

Contributors

sommerregen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

grav-plugin-textformatter's Issues

Tested Feb 2023: breaks Grav

This plugin is 7 years old. It does not work anymore as far as I can tell. Could not get this to install properly. Kept throwing errors in '...\system\src\Grav\Common\File\CompiledFile :

An exception has been thrown during the rendering of a template ("Failed to read languages.yaml: Found unknown escape character "`" at line 69 (near "SECTION_HELP: "Definiert den Backslash \ als Maskierungszeichen."").").

I couldnt see any errors in that file. Also threw error concerning cookie consent plugin but that seemed as a result of this. When I uninstalled TextFormatter via gpm everything went back to normal. I tested twice to make sure.

Crashes site after latest update

After updating site to latest (everything), textformatter crashes site and have to disable.

All plugins listed below and running gravstrap theme.

image

Admin Panel v1.1.4
Archives v1.5.0
Assets v1.2.1
BlogInjector v1.2.3
Bootstrapper v1.3.2
Breadcrumbs v1.5.0
Custom CSS v0.2.1
Editor Buttons v1.1.1
Email v2.4.3
Error v1.5.1
External Links v1.4.2
Feed v1.5.0
Form v1.3.2
Gravstrap v1.2.2
Highlight v1.3.1
LangSwitcher v1.2.1
Login v2.0.1
Markdown Color v1.0.1
Markdown Notices v1.0.0
Markdown Sections v0.9.1
Mini Code v1.1.0
Pagination v1.3.2
Problems v1.4.3
Random v1.5.0
Related Pages v1.1.4
Shortcode Core v2.3.1
SimpleSearch v1.8.0
SocialButtons v1.0.3
Taxonomy List v1.2.7
Text Formatter v1.1.0
Themer v1.1.0
YouTube v2.0.2

Breaks Highlight Plugin

The plugin breaks highlight by replacing > with > within code blocks.

Markdown code:

>>> 1 == 1
True
>>> 1 == 2
False
>>>
>>> its_raining = True
>>> its_raining
True
>>>

Resulting output:

>>> 1 == 1
True
>>> 1 == 2
False
>>>
>>> its_raining = True
>>> its_raining
True
>>>

Correct Display should be:

1 == 1
True
1 == 2
False

its_raining = True
its_raining
True

Ability to disable html parsing entirely

Awesome plugin! One issue I have though is that I'd like to disable the HTML comments processing entirely. I see for most of the other processing types (eg. fancypants, escaper etc.) there is an overall enable/disable toggle, but for the html section there's just sub-options to turn on/off comments/entities/elements. Thanks :)

Update breaks Shortcode plugin!

Hi, latest Update to Text Formatter 1.1.0 broke nearly my whole Homepage!
Section Shortcode isn't rendered anymore. Embedding audio using HTML5 audio element doesn't work anymore. Using <br/>for linebreaks doesn't work anymore.
So a lot of stuff doesn't work anymore!

InvalidArgumentException - Invalid resource http://

Just updated this extension and noticed a few major problems

  1. After running the extension, I am hit with a

     [InvalidArgumentException]
     Invalid resource http://
    

from

/var/www/public_html/classes/thesis/vendor/rockettheme/toolbox/ResourceLocator/
src/UniformResourceLocator.php

on line 396 (middle line below)

        if (!isset($this->schemes[$scheme])) {
            throw new \InvalidArgumentException("Invalid resource {$scheme}://");
        }

after installed from a command line interface or when trying to load from a front-facing page

  1. After install, it makes the web admin interface appear to have no themes or plugins installed.

Both of these issues are remedied by removing the plugin, then everything works as normal.

This error repeatable both via admin interface and command line, and both with and without additional plugins being installed

Breaks links

[here is a list with this icons](http://help.joomla.fr/3/index.php/tutoriels/bootstrap/165-bootstrap-icones-de-la-police-icomoon-de-joomla-jui-j-3-2-0)

when you have this link, it will break.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.