• R/O
  • SSH
  • HTTPS

autocodeforsql: Commit


Commit MetaInfo

Revisão412 (tree)
Hora2020-12-11 20:02:56
Autorhilinwei

Mensagem de Log

Mudança Sumário

Diff

--- AutoEpub3/Logic/DEP2/cDep2_007.vb (revision 411)
+++ AutoEpub3/Logic/DEP2/cDep2_007.vb (revision 412)
@@ -5,6 +5,7 @@
55
66 Dim bookPath As String
77 Dim emCurreDep As emEpub6.emDep
8+ Dim iSpanIndex As Integer = 0
89
910 Public mEpub As New List(Of modelVolume)
1011
@@ -191,7 +192,16 @@
191192 Dim sScr As String = uHap.Attributes("href").Value
192193
193194 If sScr.Split("#").Count = 2 Then
194- sHtml = sHtml.Replace(sScr, "#" & sScr.Split("#")(1))
195+
196+ Dim sKey As String = sScr.Split("#")(1)
197+ sHtml = sHtml.Replace(sScr, "#" & sKey)
198+
199+ iSpanIndex += 1
200+
201+ sHtml = sHtml.Replace(sKey, sKey & "_" & iSpanIndex.ToString().PadLeft(2, "0"))
202+
203+
204+
195205 Else
196206 Dim sError As String = ""
197207 End If
Show on old repository browser