Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b75e9576
Kaydet (Commit)
b75e9576
authored
Kas 27, 2012
tarafından
Peter Jentsch
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix fdo#40097 - Cross-references and TOC links broken in XHTML export
Change-Id: I90bd2a8d5f788350f8f2bc8c443776e6598624b4
üst
9a00c7fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
body.xsl
filter/source/xslt/odf2xhtml/export/common/body.xsl
+1
-1
body.xsl
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+1
-1
No files found.
filter/source/xslt/odf2xhtml/export/common/body.xsl
Dosyayı görüntüle @
b75e9576
...
@@ -317,7 +317,7 @@
...
@@ -317,7 +317,7 @@
<xsl:choose>
<xsl:choose>
<!-- internal OOo URL used in content tables -->
<!-- internal OOo URL used in content tables -->
<xsl:when
test=
"contains($href, '%7Coutline')"
>
<xsl:when
test=
"contains($href, '%7Coutline')
or contains($href, '|outline')
"
>
<!-- the simple workaround for content tables in a single document is to create create an anchor from every heading element
<!-- the simple workaround for content tables in a single document is to create create an anchor from every heading element
work-around downside: Multiple identical headings won't refer always to the first.
work-around downside: Multiple identical headings won't refer always to the first.
-->
-->
...
...
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
Dosyayı görüntüle @
b75e9576
...
@@ -1243,7 +1243,7 @@
...
@@ -1243,7 +1243,7 @@
<!-- REFERENCE HANDLING - ANCHOR -->
<!-- REFERENCE HANDLING - ANCHOR -->
<xsl:element
namespace=
"{$namespace}"
name=
"a"
>
<xsl:element
namespace=
"{$namespace}"
name=
"a"
>
<xsl:attribute
name=
"id"
>
<xsl:attribute
name=
"id"
>
<xsl:value-of
select=
"translate(concat('a_',
$headingNumber
, '_', normalize-space($title)), '
&<>.,;: %()[]/\+', '___________________________')"
/>
<xsl:value-of
select=
"translate(concat('a_',
normalize-space($headingNumber)
, '_', normalize-space($title)), '
&<>.,;: %()[]/\+', '___________________________')"
/>
</xsl:attribute>
</xsl:attribute>
<xsl:element
name=
"span"
>
<xsl:element
name=
"span"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment