#29471

@PD4ML wrote:

Can you publish a minimalistic example, which illustrates the issue?

Yes, i did it.

This is source page:

<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Title</title><meta content="Apache Tapestry Framework (version 5.3.7)" name="generator"/><meta content="text/html; charset=utf-8" http-equiv="content-type"/><link type="text/css" rel="stylesheet" href="/assets/1.0-SNAPSHOT/core/default.css"/><link type="text/css" rel="stylesheet" href="/assets/1.0-SNAPSHOT/jquery/themes/ui-lightness/jquery-ui-1.8.19.custom.css"/><style>
label,
input,
button,
select,
textarea {
font-size: 14px;
font-weight: normal;
line-height: 20px;
}
label {
display: block;
margin-bottom: 5px;
}
.label,
.badge {
display: inline-block;
padding: 2px 4px;
font-size: 11.844px;
font-weight: bold;
line-height: 14px;
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
white-space: normal;
vertical-align: baseline;
background-color: #999999;
}
.label:empty,
.badge:empty {
display: none;
}
.label {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.label-success,
.badge-success {
background-color: #468847;
}
.label-success[href],
.badge-success[href] {
background-color: #356635;
}
.btn .label,
.btn .badge {
position: relative;
top: -1px;
}
.btn-mini .label,
.btn-mini .badge {
top: 0;
}
</style></head><body><span class="label label-success">Some text</span></body></html>

“Some text” isn’t printed into final pdf/rtf

BUT if I replace <body> a bit:
<body>Some text<span class="label label-success">Some text</span></body>

I can see BOTH “Some text” strings into pdf/rtf