Use paragraphs

main
Bob Mottram 2025-10-30 17:06:33 +00:00
parent 8fcb39a487
commit c77a70c37c
1 changed files with 4 additions and 4 deletions

View File

@ -3338,17 +3338,17 @@ def _html_edit_profile_main(base_dir: str, display_nickname: str,
post_expiry_period_days = \
get_post_expiry_days(base_dir, nickname, domain)
edit_profile_form += \
edit_profile_form += '<p>' + \
edit_number_field(translate['Post expiry period in days'],
'postExpiryPeriod', post_expiry_period_days,
0, 9999999999999999999999, 0)
0, 9999999999999999999999, 0) + '</p>'
max_profile_posts = \
get_max_profile_posts(base_dir, nickname, domain, max_recent_posts)
edit_profile_form += '<br>\n' + \
edit_profile_form += '<p>' + \
edit_number_field(translate['Preview posts on profile screen'],
'maxRecentProfilePosts', max_profile_posts,
1, 20, max_recent_posts)
1, 20, max_recent_posts) + '</p>'
edit_profile_form += ' </div>\n'
return edit_profile_form