But the description (comment value) is not provided as it should when $conf['allow_html_descriptions'] = true as shown below:
The API method pwg.categories.getList returns the description as if $conf['allow_html_descriptions'] = false. In addition, as mentioned in #1949 , the non-HTML description is incorrect. So HTML album descriptions are always incorrect.
Here is a test example of HTML album description:
<img width="807" height="362" alt="Image" src="https://github.com/user-attachments/assets/2c7328be-be72-43b8-bcac-ca8f16273410" />
The album is presented properly on a web browser:
<img width="1224" height="329" alt="Image" src="https://github.com/user-attachments/assets/08dd9f10-4ca7-4d48-a0d8-ed3448c2bc72" />
But the description (`comment` value) is not provided as it should when `$conf['allow_html_descriptions'] = true` as shown below:
<img width="1005" height="351" alt="Image" src="https://github.com/user-attachments/assets/75ed0a06-6850-489e-8fae-2b7e6331d6fa" />
The API method `pwg.categories.getList` returns the description as if `$conf['allow_html_descriptions'] = false`. In addition, as mentioned in #1949 , the non-HTML description is incorrect. So HTML album descriptions are always incorrect.
<!-- github-sync-id:3307543735 -->
Why should albums be managed differently than images? As long as `$conf['allow_html_descriptions'] = trueˋ, the API method should return the raw text, whether it contains HTML or not.
Why should albums be managed differently than images? As long as `$conf['allow_html_descriptions'] = trueˋ, the API method should return the raw text, whether it contains HTML or not.
<!-- github-comment-id:3236446251 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Here is a test example of HTML album description:

The album is presented properly on a web browser:
But the description (
commentvalue) is not provided as it should when$conf['allow_html_descriptions'] = trueas shown below:The API method
pwg.categories.getListreturns the description as if$conf['allow_html_descriptions'] = false. In addition, as mentioned in #1949 , the non-HTML description is incorrect. So HTML album descriptions are always incorrect.https://github.com/Piwigo/Piwigo/issues/2402#issuecomment-3236248710
Why should albums be managed differently than images? As long as `$conf['allow_html_descriptions'] = trueˋ, the API method should return the raw text, whether it contains HTML or not.
I think it should be the same for all fields that can accept HTML