asciidoctor-rhrev 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -210,10 +210,7 @@ function generateInitialReleaseHtml(doc) {
210
210
 
211
211
  const columnWidths = String(doc.getAttribute('rhrev-table-column-width') || '30,70').split(',').map(w => w.trim())
212
212
  const sectionLabel = doc.getAttribute('rhrev-localization-location') || 'Section'
213
- const majorChangesText = doc.getAttribute('rhrev-localization-major-changes') || 'Major changes since'
214
- const versionLabel = doc.getAttribute('version-label') || 'Revision'
215
- const revnumber = doc.getAttribute('revnumber') || '1.0'
216
-
213
+
217
214
  // Build table with frame/grid classes
218
215
  const frame = doc.getAttribute('rhrev-table-frame') || 'all'
219
216
  const grid = doc.getAttribute('rhrev-table-grid') || 'all'
@@ -250,13 +247,9 @@ function generateInitialReleaseHtml(doc) {
250
247
  html.push('</tr>')
251
248
  }
252
249
 
253
- html.push('<tr class="rhrev-header">')
254
- html.push(`<th class="tableblock halign-left valign-top">${sectionLabel}</th>`)
255
- html.push(`<th class="tableblock halign-left valign-top"><strong>${majorChangesText} ${versionLabel} ${revnumber}</strong></th>`)
256
- html.push('</tr>')
257
250
  html.push('<tr>')
258
- html.push('<td>&nbsp;</td>')
259
- html.push(`<td>${initialText}</td>`)
251
+ html.push(`<th class="tableblock halign-left valign-top">${sectionLabel}</th>`)
252
+ html.push(`<td class="tableblock halign-left valign-top">${initialText}</td>`)
260
253
  html.push('</tr>')
261
254
  html.push('</tbody>')
262
255
  html.push('</table>')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asciidoctor-rhrev",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Revision history block macro extension for Asciidoctor.js and Antora (HTML5 backend)",
5
5
  "main": "antora-extension/antora-rhrev-asciidoc.js",
6
6
  "scripts": {