Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Extension in paste url does not get used #51

Closed
enchant97 opened this issue Oct 9, 2022 · 0 comments
Closed

Extension in paste url does not get used #51

enchant97 opened this issue Oct 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@enchant97
Copy link
Owner

When using a custom extension in the paste url e.g. example.com/2fCj3W3QOQ.py the original set lexer gets used instead.

This is due to how the cache works. Once a rendered paste is cached it will use it every time, even if a override lexer name is given.

Fix for V1.6.x

This will be fixed with only caching original set lexer, every time a override lexer is given it will not use the cache. In V1.7 it is planned to have a much better caching & storage system.

@enchant97 enchant97 added the bug Something isn't working label Oct 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant