Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
card
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglu
card
Commits
b9ae2308
Commit
b9ae2308
authored
Dec 09, 2020
by
zhanglu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.0 tag
parent
918a37ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
format.py
card/views/diary/format.py
+1
-3
format.py
card/views/qa/format.py
+1
-3
No files found.
card/views/diary/format.py
View file @
b9ae2308
...
...
@@ -28,9 +28,7 @@ class DiaryFormat(BaseFormat):
diary
:
DiaryInfo
=
DiaryInfo
(
**
item
)
diary
.
gm_url
=
gm_protocol
.
get_diary_detail
(
id
=
diary
.
id
)
tags_v3
=
item
[
"tags_v3"
]
# if not hit_gray(self.version, Rules.TAG_MIGRATE_724, self.device_id):
# tags_v3 = []
tags_v3
=
[]
tags
=
transform_tags
(
tags
=
item
[
"tags"
],
tab_type
=
SEARCH_TAB_TYPE
.
DIARY
,
...
...
card/views/qa/format.py
View file @
b9ae2308
...
...
@@ -39,9 +39,7 @@ class AnswerFormat(BaseFormat):
answer
.
content
=
gm_decode_html
(
answer
.
content
)
answer
.
gm_url
=
gm_protocol
.
get_question_detail
(
item
[
"question_id"
],
top_answer_id
=
item
[
"answer_id"
])
tags_v3
=
item
[
"tags_v3"
]
# if not hit_gray(self.version, Rules.TAG_MIGRATE_724, self.device_id):
# tags_v3 = []
tags_v3
=
[]
tags
=
transform_tags
(
tags
=
item
[
"tags"
],
tab_type
=
SEARCH_TAB_TYPE
.
ALL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment