From dc73ba8e4776c571c8dd49065e05288d710fb94c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 2 Dec 2011 17:25:40 +0900 Subject: [PATCH] add #answerStart to default hr so we can scroll to answer --- anki/upgrade.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/anki/upgrade.py b/anki/upgrade.py index 5b960c984..718a0fbd7 100644 --- a/anki/upgrade.py +++ b/anki/upgrade.py @@ -12,10 +12,7 @@ from anki.storage import _addSchema, _getColVars, _addColVars, \ _updateIndices # -# Upgrading is the first step in migrating to 2.0. The ids are temporary and -# may not be unique across multiple decks. After each of a user's v1.2 decks -# are upgraded, they need to be merged via the import code. -# +# Upgrading is the first step in migrating to 2.0. # Caller should have called check() on path before calling upgrade(). # @@ -412,7 +409,8 @@ order by ordinal""", mid)): conf[type] += '
{{type:%s}}' % typeAns # q fields now in a if not hideq: - conf['afmt'] = conf['qfmt'] + "\n\n
\n\n" + conf['afmt'] + conf['afmt'] = ( + conf['qfmt'] + "\n\n
\n\n" + conf['afmt']) tmpls.append(conf) return tmpls