Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picture replacement don't work with different open close chars. #34

Open
pst2d opened this issue Jan 5, 2024 · 1 comment
Open

Picture replacement don't work with different open close chars. #34

pst2d opened this issue Jan 5, 2024 · 1 comment

Comments

@pst2d
Copy link

pst2d commented Jan 5, 2024

Standard open and close chars are: "[" and "]", when it's changed to another for example: "{" and "}" picture replacement don't work correctly.

There is hard coded "[" and "]" in tbs_plugin_opentbs.php on line 657:

# $tag = "[$name;ope=changepic;tagpos=inside;$prms_flat]";

simple fix:
$tag = $this->TBS->_ChrOpen."$name;ope=changepic;tagpos=inside;$prms_flat".$this->TBS->_ChrClose;

@Skrol29
Copy link
Owner

Skrol29 commented May 8, 2024

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants