<< | Index | >>
Update Fachinfo HTML according to AMZV.
{:tag=>:a, :content=>"Zusammensetzung", :attributes=>{:name=>"7000"}}
{:tag=>:a, :content=>"Galenische Form und Wirkstoffmenge pro Einheit", :attributes=>{:name=>"7050"}}
{:tag=>:a, :content=>"Indikationen/Anwendungsmöglichkeiten", :attributes=>{:name=>"7100"}}
{:tag=>:a, :content=>"Dosierung/Anwendung", :attributes=>{:name=>"7150"}}
{:tag=>:a, :content=>"Kontraindikationen", :attributes=>{:name=>"7200"}}
<div class="paragraph"> .... </div>
<table>
<tr>
<td>
<p>
<img src="image/image1.png">
</p>
</td>
<td>
<p>
Beutel oberhalb der Markierung (Pfeil) anfassen und den Inhalt nach unten schütteln.</p>
</td>
</tr>
<tr>
<td>
<p>
<img src="image/image2.png">
</p>
</td>
<td>
<p>
An der Markierung (Pfeil) den oberen Teil der Packung abreissen oder abschneiden.</p>
</td>
</tr>
<tr>
<td>
<p>
<img src="image/image3.png">
</p>
</td>
<td>
<p>
Den Inhalt direkt in den Mund entleeren, unzerkaut mit etwas Flüssigkeit schlucken und nachtrinken.</p>
</td>
</tr>
</table>

Updated paragraph handling in fiparsd

ODDB::Text
Section
* Image
* Paragraph(string)
* Table
* Cell < Paragraph
Cell object can't have images..
def next_image
@paragraphs.push(ImageLink.new).last
end
def next_paragraph
if((last = @paragraphs.last) && last.empty?)
last
else
@paragraphs.push(Paragraph.new).last
end
end
def next_table
@paragraphs.push(Table.new).last
end