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

support for phpBB's bbcode uuid #29

Open
Dahie opened this issue Jun 25, 2020 · 3 comments
Open

support for phpBB's bbcode uuid #29

Dahie opened this issue Jun 25, 2020 · 3 comments

Comments

@Dahie
Copy link

Dahie commented Jun 25, 2020

Hi Jarrett,

For context, I'm writing an export tool for a phpBB forum to static markdown files. For that I'm slowly trying to catch most bbcode syntax cases that I find on the way. Some I deal in my exporter, some have there place here in the gem.

I found one thing today, I'm not entirely sure where to place.

in usual bbcode an image is described as [img]url[/url]. phpBB3 introduced the bbcode uuid that belongs to a post and helps to group images per post. It is stored in code as [img:fpbxmhnv]url[\img:fpbxmhnv]. More Background
This is not part of any bbcode specification or documentation and thus I wonder if the gem should support it, of if my exporter should deal with it by cleaning it before passing it to rbbcode gem.

What do you think?

@jarrett
Copy link
Owner

jarrett commented Jun 25, 2020 via email

@Dahie
Copy link
Author

Dahie commented Jun 25, 2020 via email

@Dahie
Copy link
Author

Dahie commented Jun 25, 2020

Oh, I just found that the URL and quote-tag can have the same. Example:

[url:3u958i1j]url[/url:3u958i1j]
[url=url:1unxtn0f]Text[/url:1unxtn0f]
[quote:jpz8sqzf]Text[\quote:jpz8sqzf]
[quote="Author":jpz8sqzf]Text[\quote:jpz8sqzf]

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