From 9a26c7bbe075d9bf643d4cd52212e220cac300dd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 11 Jul 2014 16:07:55 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/editor/smart/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/editor/smart/html.py b/src/calibre/gui2/tweak_book/editor/smart/html.py index 8af9dba27f..a204cfef85 100644 --- a/src/calibre/gui2/tweak_book/editor/smart/html.py +++ b/src/calibre/gui2/tweak_book/editor/smart/html.py @@ -490,7 +490,7 @@ class HTMLSmarts(NullSmarts): tag = find_closest_containing_block_tag(block, offset, block_tag_names) if tag is None: return error_dialog(editor, _('Not in a block tag'), _( - 'Cannot change text alignment as the cursor is not inside a block level tag, such as a

or

tag.'), show=True) + 'Cannot change text alignment as the cursor is not inside a block level tag, such as a <p> or <div> tag.'), show=True) tags = [tag] for tag in reversed(tags): set_style_property(tag, 'text-align', value, editor)