Skip to content
This repository was archived by the owner on Aug 18, 2018. It is now read-only.
This repository was archived by the owner on Aug 18, 2018. It is now read-only.

Problem with keys containing blanks #20

@hostrogo

Description

@hostrogo

Hi,

Converting a stardict file to Kobo, the keys containing blanks as "Abdul Rahman" do not work. On the Kobo, if I seek abdul I find Abdul Rahman, but if I tap on Abdul Rahman to see the definition I get the message "No definition found".

Here is the entry in my xml file:

<article>

<key>Abdul Rahman</key>

<definition type="h">
<![CDATA[<span style="FONT-FACE: Arial; FONT-SIZE: 18pt; FONT-WEIGHT:bold;"><b>Abdul Rahman</b></span><small> </small><df style="FONT-FAMILY: Times New Roman; FONT-SIZE: 18pt">, Tunku <d>(1903–90)</d><small>, Malayan statesman, first Prime Minister of independent Malaya 1957–63 and of Malaysia 1963–70.</small></df>]]>
</definition>
</article>

Now here is the result in 11.html file after conversion with penelope:

<w><a name="Abdul Rahman"/><div><b>Abdul Rahman</b><br/><span style="FONT-FACE: Arial; FONT-SIZE: 18pt; FONT-WEIGHT:bold;"><b>Abdul Rahman</b></span><small> </small><df style="FONT-FAMILY: Times New Roman; FONT-SIZE: 18pt">, Tunku <d>(1903–90)</d><small>, Malayan statesman, first Prime Minister of independent Malaya 1957–63 and of Malaysia 1963–70.</small></df></div></w>
Oxford mini.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions