gramdict / gramdict

Веб-версия "Грамматического словаря" А. А. Зализняка
16 stars 9 forks source link

Copying dictionary entries should not add line breaks #191

Closed bzaar closed 1 year ago

bzaar commented 1 year ago

image

https://gramdict.ru/search/*

Currently, copying and pasting a few dictionary entries results in:

Ка́а́ба
ж
1a (Ка́-♠)
ба́ба
жо
1a (женщина)
ба́ба
ж
1a (кулич; молот)

What I'd like to see, ideally, is this:

__Ка́а́ба__ ж 1a (Ка́-♠)
__ба́ба__ жо 1a (_женщина_)
__ба́ба__ ж 1a (_кулич; молот_)

Notice no line breaks between columns and the Markdown formatting (__ба́ба__). In Markdown, <i>...</i> becomes _..._ and <b>...</b> becomes __...__. If there is any HTML besides <i> and <b> (e. g. <sup>), leave it as is.