Skip to main content


Since we simply pass the HTML values, I guess it should be enough to tell that we allow the known values, don't you think?
Not sure what you mean or what you are talking about.
🤔
@Michael Vogel @utopiArte would it make sense to also include a link to where that kind of stuff is defined, like W3C, to help those of us that aren't smart enough to know what "pass the html values" actually means?

@utopiArte wow, nice.

That should be kept in the wiki and maybe also partly included in /help

@utopiArte Wow! Thanks a lot for your effort! I not only reshared your post for others to see, but I also stared it, so I can get back to it any time I want.

The Wiki is pretty poorly updated FWIW, I cannot see a way to create bulleted lists with BBCode - I have to use Markdown all the time.

Cătă wrote:

I cannot see a way to create bulleted lists with BBCode

see link:

/help/BBCode#Lists

@utopiArte Thanks again! Right, it seems like

[ul]
[li]item 1[/li]
[li]item 2[/li]
[/ul]

Does render as
  • item 1
  • item 2


But when typing [ul] it defaults to

[ul]
[*] 
[/ul]

Which renders lists as

  • [
] item 1
[
] item 2


Which is broken. Perhaps this should be raised as an issue on their GitHub, I think?

[ul]
  [*] First list element
  [*] Second list element
[/ul]


  • First list element
  • Second list element
[ul]
  [li] First list element
  [li] Second list element
[/ul]


  • [li] First list element
    [li] Second list element
@utopiArte doesn't seem to be working for me
Image/photo

@utopiArte Does https://tupambae.org/display/0ac89072-1965-c572-e847-92c297957495 look the same on your side as it does mine?

screenshot from libranet.de of the link described in same post showing that the bulleted list shows as expected

I suspect you and @Cătă have different versions of Friendica running on your instance. I I know libranet.de is usually on recent dev version, so you may need to request your admin to update.


[ul]
  [*] First list element
  [*] Second list element
[/ul]


  • First list element
  • Second list element


bauHelm-ceiboPower

@Ji Fu I don't think there is a version problem. On @utopiArte's side lists seem to be displayed correctly when including an unordered list in a post, written with BBCode, like this:

[ul]
[*] item 1
[*] item 2
[/ul]

When I try to use this code myself, I get


  • [
] item 1
[
] item 2


Not sure if it is the case to you as well (since we are on the same server). But I alleviated this problem by using Markdown instead of BB Code for unordered lists. Fortunately, when a post is edited, these are displayed as

[ul]
[li]item 1[/li]
[li]item 2[/li] 
[/ul]

And I saw this behavior since 2 versions ago already, I think, so it's great. But when typing [ul] it still defaults to the [*] instead of [li][/li] for the list items.

Actually, you know what? I think I'll see on GitHub if there is any issue about this, and I'll raise this myself if it's not. 😁

@Ji Fu @utopiArte update, I think I found the culprit for this. I had the Markdown add-on enabled. This is why, when typing the unordered list, the parser was interpreting only the * symbol instead of the BB Code.

Now, when I type the string, it defaults normally. Look:


  • item 1
  • item 2


Now I think whether I should still keep the Markdown add-on enabled after this or not, hmm...