FIX: Improve the usage of quotes inside bbcode attributes (PR #10387)

Examples:

[poll title="What's up"][/poll]
[quote='“the discourse”']

GitHub

The title of this pull request changed from “FIX: Enable the usage of quotes inside bbcode attributes” to "FIX: Improve the usage of quotes inside bbcode attributes