プロジェクト

全般

プロフィール

Vote #72574

完了

pdf: Broken new line in table

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
PDF export_39
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
39
version_id:
68
issue_org_id:
11987
author_id:
52286
assigned_to_id:
0
comments:
5
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
47
ステータス-->[Closed]

説明

Advanced tables format, with merged of several cells, produce mix cells value in the exported PDF.

To reproduce please consider the flowing sample table, fill in a wiki page, then export to PDF (my export is attached)

|_.UserID     |_.Name|_.Group|_. attribute list  |
|Starting with| a    |   simple|row |
|\3=.IT               |<. align left|
|1|Artur Pirozhkov |/2.Users |>. align right|
|2|Vasya Rogov        |=. center |
|3|John Smith |Admin
               (root)|^. valign top |
|4|-          |Nobody
               (anonymous)|~. valign bottom|

About your application's environment

  • Ruby version 1.9.3 (x86_64-linux)
  • RubyGems version 1.8.24
  • Rack version 1.4
  • Rails version 3.2.8
  • Active Record version 3.2.8
  • Action Pack version 3.2.8
  • Active Resource version 3.2.8
  • Action Mailer version 3.2.8
  • Active Support version 3.2.8
  • Middleware Rack::Cache, ActionDispatch::Static, Rack::Lock, #ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x000000011f56e8, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, RedmineDmsf::NoParse, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication
  • Application root /var/www/redmine-2.1.0
  • Environment production
  • Database adapter mysql2
  • Database schema version 20120731164049

journals

I corrected the br tag inside table.

I finished tests on following environments.

* CentOS 6 CRuby 1.8.7, 1.9.3

--------------------------------------------------------------------------------
I just apply your change and confirm it fix my issue.
Cheers

Hope it could be a candidate for a future build.
Thank you.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed in trunk r11306 and 2.2-stable r11308, thanks.
--------------------------------------------------------------------------------

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0