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

LQ should indent by default #3009 #3031

Merged
merged 1 commit into from Jul 31, 2018
Merged

Conversation

robander
Copy link
Member

Description

Causes output from <lq> to be indented by default in PDF. Current formatting is no different than a paragraph. Implemented as requested in #3009.

Motivation and Context

Default style makes it impossible to tell the difference between a <lq>content...</lq> and <p>content...</p>. It should be possible to control the indenting in a customization by adding values to the existing lq attribute set, but that isn't actually used.

The most common style for indented long quotes is to indent the block, which is the default browser rendition for HTML5, so I've added a default indent. I'm not sure what should be standard, but by calling the attribute set, anybody who wants more or less indent can add this to the lq attribute set.

How Has This Been Tested?

3009.zip

Type of Changes

  • Breaking change (fix or feature that changes existing functionality)

Not sure this really counts as "breaking" but it does change existing behavior.

@robander robander added plugin/pdf Issue related to PDF plug-in priority/medium Medium (or unknown) priority issue enhancement Changes to an existing feature labels Jul 30, 2018
@robander robander self-assigned this Jul 30, 2018
@robander robander added this to In progress in 3.2 via automation Jul 30, 2018
@robander robander requested a review from jelovirt July 30, 2018 21:58
Signed-off-by: Robert D Anderson <robander@us.ibm.com>
@jelovirt jelovirt merged commit ab83f3d into dita-ot:develop Jul 31, 2018
3.2 automation moved this from In progress to Done Jul 31, 2018
@jelovirt jelovirt added this to the 3.2 milestone Jul 31, 2018
@robander robander deleted the feature/3009lq branch July 31, 2018 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Changes to an existing feature plugin/pdf Issue related to PDF plug-in priority/medium Medium (or unknown) priority issue
Projects
No open projects
3.2
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants